kieranpotts / dotfiles

A baseline, extensible UNIX user configuration.
MIT License
1 stars 0 forks source link

Git aliases: remove assumptions about tracked branches #215

Open kieranpotts opened 1 year ago

kieranpotts commented 1 year ago

Numerous commands, eg git up, assume the tracked upstream branch has the same name as the downstream one:

--set-upstream origin HEAD

We can improve this by making use of the git upstream alias.