qaiaog
Last Updated: February 25, 2016
·
9.419K
· helmedeiros

Remove intellij folders from your GitHub REPO

Introduction

Sometimes you just need to take off the garbage after a quick and automatic commit and push from intellij.

To do so, you will need:

1. Add .idea directory to the list of ignored files

$ echo '.idea' >> .gitignore

2. Remove the directory only from the repository

$ git rm -r --cached .idea

3. Send the change forward

$ git add .gitignore
$ git commit -m 'untracking .idea'
$ git push origin master

1 Response
Add your response

18854

Thanks!

over 1 year ago ·