version control - Git and media directory commits -
i've started using envoyer bitbucket , 1 problem have live project media directory users of system upload different media. if exclude commits, removed live project on deployment - if keep them - overwrite existing ones. approach sort of situation, want commit them first time , ignore on each sub-sequent deployment?
you can add .gitignore media directory:
# ignore in directory * # except file !.gitignore
Comments
Post a Comment