Guest User

Untitled

a guest
Jan 12th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. >git push origin master
  2. Counting objects: 3, done.
  3. Delta compression using up to 8 threads.
  4. Compressing objects: 100% (2/2), done.
  5. Writing objects: 100% (2/2), 270 bytes, done.
  6. Total 2 (delta 1), reused 0 (delta 0)
  7. remote: error: refusing to update checked out branch: refs/heads/master
  8. remote: error: By default, updating the current branch in a non-bare repository
  9. remote: error: is denied, because it will make the index and work tree inconsistent
  10. remote: error: with what you pushed, and will require 'git reset --hard' to match
  11. remote: error: the work tree to HEAD.
  12. remote: error:
  13. remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
  14. remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
  15. remote: error: its current branch; however, this is not recommended unless you
  16. remote: error: arranged to update its work tree to match what you pushed in some
  17. remote: error: other way.
  18. remote: error:
  19. remote: error: To squelch this message and still keep the default behaviour, set
  20. remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
  21. To core.cloudscaling.com:/srv/git/swift.git
  22. ! [remote rejected] master -> master (branch is currently checked out)
  23. error: failed to push some refs to 'core.cloudscaling.com:/srv/git/swift.git'
Add Comment
Please, Sign In to add comment