Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github Windows: New branch created from command line not showing up on github.com

I created 2 new branches using the command line, and when I use the command 'git branch' I can see all of my branches in the window, but when I used the command 'git push' I get a message that says, "nothing to commit, working directory clean' and so I'm not seeing my new branches on github.com.

Can anyone shed some light?

Thanks! Robin

like image 822
user3472810 Avatar asked Jul 08 '15 18:07

user3472810


People also ask

How do I create a new branch in GitHub terminal?

New Branches The git branch command can be used to create a new branch. When you want to start a new feature, you create a new branch off main using git branch new_branch . Once created you can then use git checkout new_branch to switch to that branch.


1 Answers

Have you tried git push origin my_new_branch?

like image 118
MannfromReno Avatar answered Oct 18 '22 20:10

MannfromReno