Skip to content

Instantly share code, notes, and snippets.

@LuisMDeveloper
Last active May 20, 2017 01:53
Show Gist options
  • Save LuisMDeveloper/dbeb3c3fadf49d0facc1b27c36a37d8b to your computer and use it in GitHub Desktop.
Save LuisMDeveloper/dbeb3c3fadf49d0facc1b27c36a37d8b to your computer and use it in GitHub Desktop.
Simple function to download a premade .gitignore file, simple use: 'giti Swift' will download https://github.com/LuisMDeveloper/gitignore/blob/master/Swift.gitignore file
giti() {
curl "https://raw.githubusercontent.com/LuisMDeveloper/gitignore/master/$1.gitignore" -o ".gitignore"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment