Possible Duplicate:
How to Git Ignore These Files
I migrated a website to another hosting via ftp. I want to use a more secure protocol, so I choose git with ssh... I have a local copy of the files versioned by git, but it has different config files, session files, uploaded images, etc.. I want to push the changes of the local copy when I develop the site but leave those config files, etc... untouched on both machines. Another problem, that I have to backup the uploaded images (about 1.5Gb), so I think a simple ignore is not enough for me, but I have no skills in branching. What should I do?