Wednesday, March 10, 2010

git push automatic

i was tired of typing git push origin , so I finally deciphered how to configure the deafault remote and branch to merge

git config --global branch.mylocalbranchname.remote origin
git config --global branch.mylocalbranchname.merge mylocalbranchname


my remote branch and local branch have the same name, i don't know yet how to configure it having different name ; ) somebody ?

No comments:

Post a Comment

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...