DEV Community

loading...

Discussion on: Your favorite `git` aliases?

Collapse
5422m4n profile image
Sven Assmann • 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`"
Forem Open with the Forem app