I think you need to read http://git-scm.com/doc  It's a really good book,
especially this section may help you
http://git-scm.com/book/en/v2/Git-Branching-Remote-Branches

The first reply have the answer you are looking for, the problem is in the
upstream branch.

El lun, mar 2, 2015 12:52, Michael J. Mahony <mmah...@gmail.com> escribió:

> here is what I see when I run git branch -r
>
>
> <https://lh6.googleusercontent.com/-qZUnftWC0Ek/VPSHCF31QwI/AAAAAAAANHU/Yd193ISnmBI/s1600/git-problem.PNG>
> You will note that I am in the branch "dev" but cannot see it.
>
> On Friday, February 27, 2015 at 12:00:47 PM UTC-8, Michael J. Mahony wrote:
>
>> I am developing a web application and I am using GitHub to store my
>> source code. I set up a repository and have a MASTER branch.
>>
>> I am fairly new to using Git and wanted to use this as a learning process.
>>
>> Because I am using this as a learning process for using Git, I have some
>> questions.
>>
>> I got my MASTER branch to a point where it was stable and now I want to
>> start doing some serious development. I had an up to date copy of MASTER on
>> my machine. I used bash and issued this command to create a DEV branch:
>>
>> git checkout -b dev origin/master
>>
>> Now when I do:
>>
>> git branch -a
>>
>> I see this list:
>>
>>
>> <https://lh4.googleusercontent.com/-VBQZzyatwg4/VPCrRu25bVI/AAAAAAAANGM/W0ExjjkVNmU/s1600/git-branches.PNG>
>>
>> I have also pushed this "dev" branch. However, on GitHub it only shows
>> one branch--MASTER
>>
>> How can I get the other branch to be on GitHub so that I can grab it from
>> another machine when required?
>>
>>
>> Can someone explain to me how to accomplish this so that I am able to
>> have a branch for dev?
>>
>> Thanks!
>>
>> Mike
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to