Advertisement
theillien

Untitled

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