Help: Review Your Work - MikuckiBailey/Learning-World GitHub Wiki

$ git log [-n count]

List commit history, current branch [-n count] -n count limits list to last n commits.

$ git log --oneline --graph --decorate

Overview with references, labels, and history graph. One commit per line.

$ git log ref...

List commits that are present on current branch and not merged into ref. A ref can be a branch name or a tag name.

$ git log ...ref

List commit, that are present on ref and not merged into current branch.

$ git reflog

List operations (like checkouts, commits) made on local repository