Compiled Chronicles

A software development blog by Angelo Villegas

Shell: Generate Git

A comprehensive script for Xcode projects that lets you generate .gitignore and .gitattributes in the directory of your choosing.

Download

You can grab the script here: https://gist.github.com/anjerodesu/5063843

Running the script

  • Copy the script to your project folder.
  • Open Terminal and run:
    • cd path/to/your/project/ (if you’re not yet on your project’s directory)
    • sh generate-git.sh

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *