3. Prerequisites
list of used commands:
- git show <reference>
- git log --oneline --graph
- git log --oneline --graph --all
What you should know about GIT:
- References in git: commit hash, branch, tag, HEAD
- Fast-forwarding - When merging one commit with a commit that can be reached
by following the first commit’s history, Git simplifies things by moving the
pointer forward because there is no divergent work to merge together
3
16. WARNING !!!
Operations with commit history change commit hashes,
hence if you previously pushed your changes to remote
repository, after changing commits hashes you have to push
it with --force option
1
6