Cosmina Palade
Software Engineer
Today's GOAL:
Not everyone will need a git log all the time but when you need it just remember:
3. git log --oneline --decorate --graph --all, prints the history of your commits showing where your branch pointers are and how your history diverged.
Saves un-committed work, the stash is pretty safe from most disruptive git operations
Text
Remember commits can't be edited!
A commit is referenced by the SHA
Even if it's the same author, the date is not!
Thus a new commit is created.
Rebase = give a commit a new parent
git rebase -i <commit_to_fix>^ (^ specifies the commit)
Cosmina Palade
Software Engineer