Created
July 12, 2017 17:01
-
-
Save jnareb/197bd821ea0dac9716263167bdfbe750 to your computer and use it in GitHub Desktop.
Git nie pozwala wykonać `git push` ponieważ repozytorium nie jest w sytuacji fast-forward
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git commit -a --amend | |
[...] | |
$ git push | |
To https://git.company.com/repo.git | |
! [rejected] master -> master (non-fast-forward) | |
error: failed to push some refs to 'https://git.company.com/repo.git' | |
hint: Updates were rejected because the tip of your current branch is behind | |
hint: its remote counterpart. Integrate the remote changes (e.g. 'git pull ...') | |
hint: before pushing again. | |
hint: See the 'Note about fast-forwards' in 'git push --help' for details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment