3 ms·
I have vastly simplified my git workflow with some aliases that work in a variety of settings git synced #<- sync (rebase) current branch with upstream if def
by softwaredoug 3y ago
I have vastly simplified my git workflow with some aliases that work in a variety of settings
git synced #<- sync (rebase) current branch with upstream if defined, otherwise origin. Uses master or main, preferring main
git pub #<- publish my changes to remote origin (force push with lease)
git pr #<- open appropriate PR to github (no GH client needed, just opens the URL). PR goes to upstream if defined
git hub #<- opens github page for repo
https://softwaredoug.com/blog/2022/11/09/idiot-proof-git-aliases.html https://softwaredoug.com/blog/2022/11/09/idiot-proof-git-ali...
- grimgrin 3y agolet's get meta, doug tell me about your choice of separator, the weird hairy arrow