ugit
ugit copied to clipboard
git push could be smart enough to --set-upstream automatically
Now that we can extend the input for git commands, one practically useful scenario would be the first push to a new upstream.
Right now, this generates an error.
However, it wouldn't be too terrible to check just before a push to determine if the current branch is tracked or not.
If it is not, then --set-upstream should be passed.