Apr 20, 2010 0
GitHub Ignore standard symfony files/folders
I use OS X as a development environment for my home projects – and yes, I have made better decisions in my life so lets not get too caught up on that one – so there are many fun times when it comes to programming, to stop the frustration I use the command line to do fancy easy stuff everyday things you can do without programs to ruin it.
The benefits are two-fold:
- It works.
SometimesApple programs feel the need to run the show, and that is frustrating on so many levels. - It makes me feel cool, like I know what I am doing. I am still not overly comfortable with command line, but we’re becoming good friends.
To setup the ignore files for a git repository just jump into the command line in the new symfony project. I use nano because it comes on OS X, but you can use VI, if you are a command-line warrior.
1 sudo nano .gitignore
01 # GIT IGNORE02 03 # Ignore all .DS_Store files that appear04 *.DS_Store05 06 # Ignore log files that appear07 *.log08 09 # Ignore all directories and files in cache10 cache/**/*11 12 nbproject/**/*13 nbproject/private/private.properties14 nbproject/project.properties15 nbproject/project.xml16 nbproject/private/private.xml
As you can see by the last bit, I use NetBeans as an IDE. So far I am enjoying it.
Recent Comments