Created
April 5, 2012 05:51
-
-
Save yrstruly/2308312 to your computer and use it in GitHub Desktop.
Check for Git.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if git --version 2>&1 >/dev/null ; then | |
# do stuff | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment