Skip to content
auto generate .gitignore and .gitattribute file in the directory of your choosing with XCode script menu option
Find file
Latest commit d216517 @nyoron nyoron committed with tbarbe Fix for paths containing spaces.
Failed to load latest commit information.
README Read me and the script source.
pasteMe_into_xcode_script_menu Fix for paths containing spaces.

README

This is a quick script add-on for Xcode that lets you autogenrate .gitignore and .gitattributes in the directory of your choosing.

Simple copy-paste the script into the script menu in Xcode:  Script Menu> Edit User Scripts...  (its the AppleScripting menu icon next to help )

Once you have created a new script and pasted the contents in you may just run the script and it will ask you to name and choose location for two files.
The default names are already filled in ( .gitignore , .gitattributes ) - just choose the root directory where you want them to appear.
The finder will warn you that "." will dissapear from finder view when created just hit ok!
Something went wrong with that request. Please try again.