fatal: 'origin' does not appear to be a git repository

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

You receive the following error from Git

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

Cause

This is typically because you have not set the origin alias on your Git repository.

Resolution

To resolve, do the following:

git remote add origin URL_TO_YOUR_REPO

This will add an alias in your .git/config file for the remote clone/push/pull site URL. This URL can be found on your repository Overview page.

If this doesn't resolve your issue, please read over our Bitbucket Cloud 101 guide for detailed setup and configuration guides for Git.

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.