DEV Community

loading...

Discussion on: Advanced git tips

Collapse
5422m4n profile image
Sven Assmann

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`"
Forem Open with the Forem app