Switch between branches
git checkout master
-
This will switch to the
master
branch. -
See that the changes have "disappeared".
-
Make some other change on the master to README.txt.
-
See that the two have diverged (use
gitk --all
).
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
git checkout master
This will switch to the master
branch.
See that the changes have "disappeared".
Make some other change on the master to README.txt.
See that the two have diverged (use gitk --all
).