Simplify a batch of git commands

Posted by Bogdan Gusiev on Stack Overflow See other posts from Stack Overflow or by Bogdan Gusiev
Published on 2010-05-23T20:03:08Z Indexed on 2010/05/23 20:11 UTC
Read the original article Hit count: 363

Filed under:

When I want to merge one branch to another I use to do the following(in this example master to custom):

git checkout master && git pull && git checkout custom && git merge master

Can somebody suggest how to simplify this?

Thanks, Bogdan.

© Stack Overflow or respective owner

Related posts about git