qaiaog
Last Updated: February 25, 2016
·
7.954K
· helmedeiros
Heliomedeiros

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
Say Thanks
Respond

1 Response
Add your response

18854
None

Thanks!

over 1 year ago ·
Filed Under