DEV Community

Discussion on: Advanced git tips

Collapse
 
5422m4n profile image
Sven Kanoldt

that you can use virtual hostnames and map them in the .ssh/config to real ones was new, thanks for sharing!

one more git alias that I find very handy, to set a local branch up with the origin counterpart branch:

[alias]
    track = "!git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`"