abapGitServer
abapGitServer copied to clipboard
Error push local repo to remote repo
I have created a local Git repository by cloning online repository from abapGitServer. In local repository I created a new branch customer and checkout to newly created branch customer. I updated files for branch customer and make a commit. I push to abapGitServer with command
'git push --set-upstream origin customer'
but did receive an error.

issue reproduced,

note that the branch is updated in abapGitServer,

but the git client shows a warning
try https://github.com/larshp/abapGitServer/pull/108 I'm not sure if this fixes the set-upstream, but now it is possible to push to a branch without the warning

I can confirm that the warning is gone.

But the error is still there when using the upstream option, to create branch in remote repo, when it was created first in local repo.

This means I have to create branch always in abapGit first, but this is something I can live with. You can close the issue if you like.
hi, can you help adding a description of the commands before git push upstream, eg. starting with git clone
-
git cloneto create local repo based on remote repo
-
git branch NewCustto create new branch in local repo

-
git checkout NewCustto work with new branch (deleted some files)
-
git commit -ato commit changes to local repo
-
git pushdoes not work, as newly created branch did not exist in remote repo
-
git push --set-upstream origin NewCustto create new branch in remote repo gives error message