I need to ask this question but may be its way simple , but i tried searching for answer and the google results are all pointing me to an answer which is not working.
My current setup is
git branch -r
origin/HEAD -> origin/master
git log --graph --stat origin/master..
* commit c44d62aecef8bef168cc60303ef36dab47117428
Date: Wed Apr 10 13:38:44 2013 -0700
fixing error in pom.xml
map_reduce/pom.xml | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
git push origin m1
You didn't specify which branch you want remotely, so it assumed origin/m1.
git push origin m1:master
The syntax is
git push remote local_branch:remote_branch