top | item 32079520 (no title) RagingCactus | 3 years ago `git push -u origin HEAD` pushes the current branch to `origin` with the same name you have locally. You could even add an alias for that. discuss order hn newest mananaysiempre|3 years ago Or set `push.default` to `current` to have plain `git push origin` push to the same remote name, ignoring the configured upstream (you might also want to set `remote.pushDefault` alongside that).
mananaysiempre|3 years ago Or set `push.default` to `current` to have plain `git push origin` push to the same remote name, ignoring the configured upstream (you might also want to set `remote.pushDefault` alongside that).
mananaysiempre|3 years ago