jhillyerd / plugin-git

Git aliases plugin for the Fish shell (similar to oh-my-zsh git)
MIT License
607 stars 85 forks source link

Add alias for rebasing against latest origin/main #91

Closed UnsolvedCypher closed 1 year ago

UnsolvedCypher commented 1 year ago

Add an alias for fetching the latest default branch and rebasing against it.

jhillyerd commented 1 year ago

These look similar to ggu -- wonder if it would make sense to add a bit more functionality to it instead?

jhillyerd commented 1 year ago

oh wait, I see, yours are for main/master and ggu is for current branch.

UnsolvedCypher commented 1 year ago

Yes, if you think this would be better as something like ggum I'm happy to do that

jhillyerd commented 1 year ago

Looking at the current set, it seems that all the gg_ commands are focused on origin+current branch, so your naming makes more sense to me. I took a look at the oh my zsh project but didn't see anything similar to base ours on.

jhillyerd commented 1 year ago

Thanks!