I use git as my main version control system and recently started using git in my CakePHP projects. This is my current .gitignore file:
app/tmp vendors/
As used in cakephp git repository, but for me it works a little more when deploying the project on the server, because I need to log in and create all the applications / tmp / subdirectories manually, they will work correctly. Is there a way to set it to ignore the contents in these folders, but still have them under git control so that they appear when I cloned the repo into a hot directory?
I also had the problem that my git index was reset while I was working on it, which forces me to make a lot more commits than necessary, any ideas on this too?
git version-control php cakephp
trobrock
source share