Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.7.0
-
git version 2.16.2.windows.1
-
-
5ef320d9fc3deea2c920c76a81362de39c3f17b9 (qt-creator/qt-creator/master)
Description
I've created a local branch. I want to push it to my remote git repository. If I try to do it through the dedicated menu (Tools->Git->Remote Repository->Push), I've got the error below.
It is obviously very simple to type the command outside QtCreator. Once done, subsequent push commands from QtCreator will succeed as the branch has been created on remote.
10:50 Running in D:\Cpp\Projets\Qt\GoogleSignIn: "D:\Program Files\Git\cmd\git.exe" push
fatal: The current branch fixconstant has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin fixconstant
The command "D:\Program Files\Git\cmd\git.exe" terminated with exit code 128.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-23796 Not able to push a local branch the first time
- Closed
-
QTCREATORBUG-22851 Allow setting upstream branch when pushing an "upstreamless" branch
- Closed