# git push origin BRANCHNAME question

1 messages from 2016-08-25 to 2016-08-25. Participants: Ed Greenberg.
Thread: https://gitlist.dev/t/43932

## Ed Greenberg, 2016-08-25 13:24

Subject: git push origin BRANCHNAME question
Message-ID: <372e0def-4602-56f5-d070-967e6a8c10ab@greenberg.org>
URL: https://gitlist.dev/e/372e0def-4602-56f5-d070-967e6a8c10ab%40greenberg.org

```
I think I understand this from the git-push man page, but I want to make 
sure:

I have two branches, master and develop.

If I am (accidentally) sitting on master, and issue 'git push origin 
develop', does this properly push develop to remote develop, or does it 
push master to remote develop (which seems to be bad, in the most common 
use case.)  ?

Thanks,

Ed


-- 
Ed Greenberg
Glens Falls, NY USA


```
