Last active
November 11, 2017 13:26
-
-
Save lucianomarisi/b22a2d34a07dc8580cf26204033f4056 to your computer and use it in GitHub Desktop.
Script for initializing a git repository with a gitignore for Xcode (can be added to the /usr/local/bin directory)
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
#!/bin/bash | |
# Script for initializing a git repository with a gitignore for Xcode | |
git init | |
echo -e "xcuserdata\n.DS_Store" > .gitignore | |
git add . | |
git commit -m "Initial commit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment