[git-users] Re: Branching Questions

2015-03-03 Thread Michael J. Mahony
Thanksthat helped me understand this process a lot better. Truly 
appreciate it. You're right, the first response fixed the issue. I just 
wondered if there was a better way to get the branch to begin with, but I 
suppose since that way works it is the way I should do 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/NGM/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.


Re: [git-users] Re: Branching Questions

2015-03-02 Thread Nelson Efrain A. Cruz
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/NHU/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/NGM/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.


[git-users] Re: Branching Questions

2015-03-02 Thread Michael J. Mahony
here is what I see when I run git branch -r

https://lh6.googleusercontent.com/-qZUnftWC0Ek/VPSHCF31QwI/NHU/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/NGM/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.


[git-users] Re: Branching Questions

2015-03-01 Thread Michael J. Mahony
Thank you, but if you will look at the initial post in this thread, I used this 
command and no branch was created on Github. 

-- 
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.


[git-users] Re: Branching Questions

2015-03-01 Thread Michael J. Mahony
Thank you, but as the original post says, upon pushing the branch it still 
doesn't exist on Github

-- 
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.


[git-users] Re: Branching Questions

2015-03-01 Thread Michael Cox
The above creates a *local* branch.  Once you've got your changes on the local 
branch, then push the branch to the remote:

git push origin

-- 
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.


[git-users] Re: Branching Questions

2015-03-01 Thread Gabby Romano
After pushing the branch, run git branch -r.what do you see ?

-- 
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.


[git-users] Re: Branching Questions

2015-03-01 Thread Michael J. Mahony
Awesome answer. So that brings up another question.

What if I have a master branch and I want to create a new branch based off 
of it? What is the command(s) for this?

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/NGM/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.