DEV Community

Discussion on: Your favorite `git` aliases?

Collapse
 
eddycorderol profile image
Eddy Cordero

ud = "!f() { git checkout develop && git pull origin develop; }; f"
lbranch = "!f() { git rev-parse --abbrev-ref @{-1}; }; f"
udrcb = "!f() { git ud && git checkout $(git lbranch) && git rebase develop; }; f"