Skip to content
Snippets Groups Projects
Commit 3a1fb62f authored by nicoa96's avatar nicoa96
Browse files

uptodate

parent 0f4044da
No related branches found
No related tags found
3 merge requests!6Na/bhtalgorithmus,!5Na/bhtalgorithmus,!1Na/bhtalgorithmus
......@@ -36,3 +36,25 @@ git push
----------
git pull origin Nicola
-----------
In case:
nicolaalnicola@LAPTOP-A0GOD546:/mnt/c/Users/nicol/comp-sci-project$ git push
To git.imp.fu-berlin.de:nguyed99/comp-sci-project.git
! [rejected] na/bhtalgorithmus -> na/bhtalgorithmus (non-fast-forward)
error: failed to push some refs to 'git.imp.fu-berlin.de:nguyed99/comp-sci-project.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Do the following to keep your local branch up to date before pushing:
git fetch origin
git checkout <branchname>
git merge origin/<branchname>
--press Exceute than exit
git pull origion <branchname>
--now you can push again
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment