This file contains 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
# Copy this file to /usr/local/bin/ on your Mac | |
# type chmod +x initgit.sh | |
# From now on, on any folder, you can just type initgit.sh and a new git repo with a default .gitignore file will be created for you. | |
#! /bin/sh | |
git init | |
cp ~/.gitignore . | |
rm -r build/ | |
git add .gitignore |
OlderNewer