X
X
xtala zen2017-10-20 16:19:22
git
xtala zen, 2017-10-20 16:19:22

Full commit history in console?

There is a repository with several commits, let's say we roll back to the very first one using the git reset <first commit> command. Now, if you enter the git log command in the console, the response will display a history with one commit, but at the same time, if the same repository is viewed through the Source Tree, it will show the full commit history, just the master pointer will be on the first commit. Which command can display the complete history of commits in the console?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vaut, 2017-10-20
@xtala

git log --all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question