DEV Community

Discussion on: Your favorite `git` aliases?

Collapse
 
5422m4n profile image
Sven Kanoldt • Edited

one for lazy remote tracking of the current branch

grep track ~/.gitconfig
    track = "!git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`"