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

uptodate

parent c09f115d
No related branches found
No related tags found
No related merge requests found
...@@ -36,3 +36,25 @@ git push ...@@ -36,3 +36,25 @@ git push
---------- ----------
git pull origin Nicola 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