In the project directory, you switch between branches:
In this lesson you can try to:
- Made changes in first commit by
rebase
andedit
it - Made changes in second commit in the same way
- Made changes in first commit with
fixup
- Commit changes in last commit with
--amend
flag
In this lesson you can try to:
- Drop first commit with
drop
- Rename last commit with
reword
In this lesson you can try to:
- Combine first and second commits with
squash
- Rename last commit with
reword
In this lesson (hard mode) you can try to:
- Pass first lesson without
rebase
- Pass second lesson without
rebase
- Pass third lesson without
rebase
You can learn more in the Official Git documentation page.
They even have A tutorial introduction to Git.
To learn advanced Git, check out the Pro Git book.
Some useful videos, could be also found in Official Git site.
Funny Gir game with levels and achievements: https://learngitbranching.js.org/