3 ms·Git Best Practices4 points by Greek0 4y agoGreek0 4y agoStaging changes: git add -p and git diff --cached Rewriting history: git commit --amend Rewriting history: git rebase -i HEAD~10 Atomic commits Commit messages Git branching patterns