Last active
December 21, 2015 16:59
-
-
Save iggym/6337494 to your computer and use it in GitHub Desktop.
Creating a gitignore file for iOS projects
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
After creating a new Git repo for a project, the next thing is to add a .gitignore file. | |
You can copy/paste from a previous project, or use github/gitignore i.e copy https://github.com/iggym/gitignore/blob/master/Objective-C.gitignore | |
Alternatively you can also use gitignore.io by adding a function to your command-line environment that makes it easy to quickly grab the .gitignore file you need. | |
For example, for an iPhone project, after initializing my repo, I can just run the following command: | |
gi objective-c >> .gitignore | |
and a new ignore file will be created for me and is ready to use. | |
You can find full instructions on how to use gitignore.io and set it up for command-line use at http://gitignore.io/cli. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment