DEV Community

Discussion on: What is your favourite Git command?

Collapse
 
siriniok profile image
Vladyslav Siriniok • Edited

git add <path> --patch and git rebase master --interactive

The former is for adding specific lines of code to stage, and the latter is for rebasing current branch on top of the master in interactive mode.