Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Tuesday, April 9, 2013

Create a tracking branch off of a remote branch in git

git branch --track branchName origin/branchName
git checkout branchName

Wednesday, March 27, 2013

Resolve "Agent admitted failure to sign using the key."

You might be getting the following error message, perhaps when either using ssh or git:


Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Solve this by this simple fix:

ssh-add

What may have happened, is that you changed your ssh key, and something got confused.