added line for upgraded lein to gitignore
made it so that actions are only taken if they would actually affect things, ie the file/permissions are different or don't exist