It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

using git first time and getting error in git push

Below is error while i am trying to checkin

[kavithae@devrh72-1 common]$ git push origin
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin master

[kavithae@devrh72-1 common]$
[kavithae@devrh72-1 common]$
[kavithae@devrh72-1 common]$
[kavithae@devrh72-1 common]$ git push --set-upstream origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[kavithae@devrh72-1 common]$

1 comment

Well you are missing apparently your remote. You have to set it up before pushing to it.

https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,591 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you