I am just trying to create my first repo from Ubuntu 11.10 with this command:
I was going to finish sudo git push -u origin master
sudo git push -u origin master
Access denied (publication). fatal: the far end unexpectedly hung up
How can this be fixed?
I tried it too. i.e. git push -u origin master. I got this error.
error: failed to lock .git / config configuration file: rejection allowed Error: failed to block .git / config configuration file: Access denied The branch wizard is configured to track the remote branch wizard from the source. Error: cannot create directory for .git / refs / remotes / origin / master error: Cannot block ref ref / remotes / origin / master. All updated
Could this provide any help?
Quote:
Have you forgotten to add your public key to your github project settings? Also check that your private key is in your .ssh directory.Go to https://github.com/[username here] / [project name here] / change and make sure your public key is installed.Read also: http://help.github.com/mac-key-setup/
Have you forgotten to add your public key to your github project settings? Also check that your private key is in your .ssh directory.
Go to https://github.com/[username here] / [project name here] / change and make sure your public key is installed.
Read also: http://help.github.com/mac-key-setup/
If you are just creating a repo, there is no need to do git push; git init will create a repo. Also, I avoided using sudo when starting git. You can also go to this site to help you understand git: http://progit.org/book/ch1-3.html
If you use github you can read this: http://help.github.com/linux-set-up-git/
Hello, this may be because you are trying to do git push as root, with sudo, you set your public key or root key, usually you just supply your key and not the root key, this may be why "Getting this mistakes.
If you think this is due to a false lock, try deleting the lock file:
Mac or * nix
rm -v .git/config.lock
Window
del .git/config.lock