Error: git push origin master

See more articles in Git category

When you execute this command, 

git push origin master


you could see this error.

fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly


The problem could be with your remote.
When you do git push origin master, origin is the remote and master is the branch you're pushing.

Try do this,
git remote

your list might not include origin.

To re-add the origin remote
git remote add origin git@github.com:your_github_username/your_github_app.git

If it exists but is formatted incorrectly, then delete it
git remote rm origin
git remote add origin git@github.com:your_github_username/your_github_app.git



'Git' 카테고리의 다른 글

Error: git push origin master  (0) 2011.01.31
Git fatal: write error: Broken pipe  (0) 2011.01.31