Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    How can I know the repository name? When I type git pull origin master git complains that 'origin' does not appear to be a git repository
    – Ziyuan
    Commented Dec 17, 2012 at 5:16
  • 3
    'origin' is a remote. You can use git remote --verbose to see all the remote configured under your git folder. The information shown on screen will also include either "[email protected]" paths or HTTPS paths, from which you should be able to identify where to push. Hope this helps !
    – AYK
    Commented Dec 17, 2012 at 5:38
  • 17
    git pull origin master showing Already up-to-date. but then when try to push on origin_branch this say same warning mentioned in question. Any suggestion !!
    – CoDe
    Commented Apr 20, 2016 at 13:04
  • 2
    @Shubh did you ever solve the issue? Im getting the same thing! Commented May 3, 2016 at 7:15
  • 3
    @OriginalAlchemist yes..since I'm only developer who working on remote-local branch...so I did force push local branch ..and that override all changes of open branch on server with my changes from local system. git push -f <remote> <branch> e.g. git push origin <your_local_branch> check this thread.
    – CoDe
    Commented May 3, 2016 at 10:03