Home > OS >  About the git pull a strange question
About the git pull a strange question

Time:10-17

I making it has its own warehouse, respectively in addition to the master has two branch, branch's file is as follows:

The master - master. TXT
Branch - b - master. TXT, b.t xt
Branch - c - master. TXT, b.t xt, c.t xt

When I checkout, on making manual submission in the branch - c c.t xt, added a few lines inside the new content
Then the local branch of the current is the master, the implementation of the git pull origin branch_c: branch_c want to update the local branch - c found under the master also appears b.t xt and c.t xt

What reason is this excuse me? Pull it clearly specifies the update only local branch_c!

CodePudding user response:

After you commit to the local branch of the master, to perform the git pull
  • Related