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
get_gitignore() { | |
local gitignore=https://raw.github.com/github/gitignore/master/$1.gitignore | |
local exists=`curl -s --head -w %{http_code} $gitignore -o /dev/null` | |
if [[ $exists -eq 404 ]]; then | |
echo "El gitignore esmentat no existeix. Comprova que l'has escrit be" | |
else | |
curl -s https://raw.githubusercontent.com/github/gitignore/master/$1.gitignore | |
fi | |
} |
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
######################### | |
# .gitignore file for Xcode4 and Xcode5 Source projects | |
# | |
# Apple bugs, waiting for Apple to fix/respond: | |
# | |
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
# | |
# Version 2.6 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# |