Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Git Best Practices (caichinger.com)
4 points by Greek0 on Oct 12, 2022 | hide | past | favorite | 1 comment


Staging 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: