Created
February 16, 2012 16:43
-
-
Save jnericks/1846346 to your computer and use it in GitHub Desktop.
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
| new-sln-git() | |
| { | |
| slnname=$1 | |
| if [ -n "${slnname}" ] | |
| then | |
| mkdir ${slnname} | |
| cd ${slnname} | |
| cp "/cygdrive/c/Dropbox/Environment/dotNET/empty.sln" "${slnname}.sln" | |
| cp "/cygdrive/c/Dropbox/Environment/Ignores/.gitignore" . | |
| git init | |
| git add -A | |
| git commit -am "initial commit" | |
| else | |
| Echo "must provide name for solution (eg. new-sln-git name_for_solution)" | |
| fi | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment