Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. cyril@zarquon:~/ltupkgs$ git push origin master
  2. Enter passphrase for key '/home/cyril/.ssh/id_dsa':
  3. Counting objects: 3, done.
  4. Writing objects: 100% (3/3), 218 bytes, done.
  5. Total 3 (delta 0), reused 0 (delta 0)
  6. remote: error: refusing to update checked out branch: refs/heads/master
  7. remote: error: By default, updating the current branch in a non-bare repository
  8. remote: error: is denied, because it will make the index and work tree inconsistent
  9. remote: error: with what you pushed, and will require 'git reset --hard' to match
  10. remote: error: the work tree to HEAD.
  11. remote: error:
  12. remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
  13. remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
  14. remote: error: its current branch; however, this is not recommended unless you
  15. remote: error: arranged to update its work tree to match what you pushed in some
  16. remote: error: other way.
  17. remote: error:
  18. remote: error: To squelch this message and still keep the default behaviour, set
  19. remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
  20. To ssh://git@slarti.davromaniak.eu/data/git/ltupkgs.git
  21. ! [remote rejected] master -> master (branch is currently checked out)
  22. error: failed to push some refs to 'ssh://git@slarti.davromaniak.eu/data/git/ltupkgs.git
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement