Skip to content

Instantly share code, notes, and snippets.

@ShuvoHabib
Last active February 14, 2019 14:05
Show Gist options
  • Save ShuvoHabib/42deed4844b018709ed8ae3925a71c38 to your computer and use it in GitHub Desktop.
Save ShuvoHabib/42deed4844b018709ed8ae3925a71c38 to your computer and use it in GitHub Desktop.
Remove Accidental .idea folder push in github

The full process would look like this:


$ echo '.idea' >> .gitignore
$ git rm -r --cached .idea
$ git add .gitignore
$ git commit -m '(some message stating you added .idea to ignored entries)'
$ git push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment