Advertisement
Guest User

Untitled

a guest
Jun 20th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.74 KB | None | 0 0
  1. [martins@linux-x9n3 bizpasts20]$ (master)
  2. [martins@linux-x9n3 bizpasts20]$ git push origin master
  3. Counting objects: 7, done.
  4. Delta compression using up to 4 threads.
  5. Compressing objects: 100% (4/4), done.
  6. Writing objects: 100% (4/4), 2.63 KiB, done.
  7. Total 4 (delta 3), reused 0 (delta 0)
  8. To martins.briedis@xxx.xxx.xx:git/bizpasts20.git
  9.    b0d6db5..1b71cdb  master -> master
  10. [martins@linux-x9n3 bizpasts20]$ (master)
  11. [martins@linux-x9n3 bizpasts20]$ git push blp master
  12. Counting objects: 7, done.
  13. Delta compression using up to 4 threads.
  14. Compressing objects: 100% (4/4), done.
  15. Writing objects: 100% (4/4), 2.63 KiB, done.
  16. Total 4 (delta 3), reused 0 (delta 0)
  17. remote: error: refusing to update checked out branch: refs/heads/master
  18. remote: error: By default, updating the current branch in a non-bare repository
  19. remote: error: is denied, because it will make the index and work tree inconsistent
  20. remote: error: with what you pushed, and will require 'git reset --hard' to match
  21. remote: error: the work tree to HEAD.
  22. remote: error:
  23. remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
  24. remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
  25. remote: error: its current branch; however, this is not recommended unless you
  26. remote: error: arranged to update its work tree to match what you pushed in some
  27. remote: error: other way.
  28. remote: error:
  29. remote: error: To squelch this message and still keep the default behaviour, set
  30. remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
  31. To root@xxx.xxx.xx:/var/www/bizpasts20/.git
  32.  ! [remote rejected] master -> master (branch is currently checked out)
  33. error: failed to push some refs to 'root@xxx.xxx.xx:/var/www/bizpasts20/.git'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement