diff --git a/{{cookiecutter.repo_name}}/.gitignore b/{{cookiecutter.repo_name}}/.gitignore index 4b288b5b..b4f3f5b9 100644 --- a/{{cookiecutter.repo_name}}/.gitignore +++ b/{{cookiecutter.repo_name}}/.gitignore @@ -38,7 +38,17 @@ htmlcov *.pot # Pycharm -.idea +.idea/* +{% if cookiecutter.use_pycharm == 'y' %} +# Provided default Pycharm Run/Debug Configurations should be tracked by git +# In case of local modifications made by Pycharm, use update-index command +# for each changed file, like this: +# git update-index --assume-unchanged .idea/{{cookiecutter.repo_name}}.iml +!.idea/runConfigurations/ +!.idea/{{cookiecutter.repo_name}}.iml +!.idea/vcs.xml +!.idea/webResources.xml +{% endif %} # Vim diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__migrate.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__migrate.xml index 325698d5..6a7b1b06 100644 --- a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__migrate.xml +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__migrate.xml @@ -3,8 +3,8 @@