15 December 2015

steps

  1. edit .gitconfig file

    1. add excludesfile line to core section

       [core]
           autocrlf = true
           excludesfile = c:/Users/Administrator/.gitignore_global
      
    2. save this file

  2. create a new file .gitignore_blobal

    1. add file or folder to ignore

       # eg.
       .idea/
       *.iml
      
  3. done



blog comments powered by Disqus