Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6355691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:48:58+00:00 2026-05-24T22:48:58+00:00

[root@ test]$ git branch -a * master origin remotes/origin/master [root@ test]$ git branch *

  • 0
[root@ test]$ git branch -a
* master
  origin
  remotes/origin/master
[root@ test]$ git branch
* master
  origin

IMO origin is remote and master is local, what’s remotes/origin/master there for?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T22:49:00+00:00Added an answer on May 24, 2026 at 10:49 pm

    git branch shows only local branches, git branch -a shows all branches, including remote-tracking branches.

    You’ve got local branches named master and origin.

    remotes/origin/master is a remote-tracking branch for the master branch in the remote repository named origin.

    Your local master probably tracks remotes/origin/master. From that output, you can’t tell what’s up with origin, but it’s likely either a product of a mistaken command or simply a poorly-chosen branch name. (You can do git branch -va to get some more helpful information.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[root@234571-app2 git]# ./test.py File ./test.py, line 4 with open(/home/git/post-receive-email.log,'a') as log_file: ^ SyntaxError: invalid
Here you go: root@Dell: /tmp # mkdir test; cd test root@Dell: /tmp/test # git
I've got some XML, for example purposes it looks like this: <root> <field1>test</field1> <f2>t2</f2>
I have a string that looks like this /root/test/test2/tesstset-werew-1 And I want to parse
[root@ test]$ cat return10.c #include <stdio.h> int main(int argc, char *argv[]){ return 10; }
[root@dev-test test]$ perl -e %hash=(key,1);print 1 if exists $hash{key}; exists argument is not a
I had creating git repository Test on git and installed git on my windows
I have a collection of files with fully qualified paths (root/test/thing1/thing2/file.txt). I want to
make -C /usr/src/linux-2.6.32.9 M=`pwd` LD /root/test/lkm/built-in.o Building modules, stage 2. MODPOST 1 modules make:
[root@woyo test]# strace -o /tmp/lsof.strace -p 5625 Process 5625 attached - interrupt to quit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.