ugit icon indicating copy to clipboard operation
ugit copied to clipboard

git push could be smart enough to --set-upstream automatically

Open StartAutomating opened this issue 2 years ago • 0 comments

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.

StartAutomating avatar Mar 31 '23 19:03 StartAutomating