What to gitignore from the .idea folder?

前端 未结 9 1748
天命终不由人
天命终不由人 2020-11-29 14:37

Possible Duplicate:
Intellij Idea 9/10, what folders to check into (or not check into) source control?

I star

9条回答
  •  情话喂你
    2020-11-29 15:11

    • Remove .idea folder

      $rm -R .idea/
      
    • Add rule

      $echo ".idea/*" >> .gitignore
      
    • Commit .gitignore file

      $git commit -am "remove .idea"
      
    • Next commit will be ok

提交回复
热议问题