Wednesday, 15 February 2012

Variables inside Git Aliases -



Variables inside Git Aliases -

i writing aliases git commands. main purpose comparing commits, example:

git config --global alias.compare "diff master..${some_branch}"

is possible create this?

instead maintain way:

git config --global alias.compare "diff master"

and utilize command way:

compare 7fe3b6 compare test-branch

git

No comments:

Post a Comment