Skip to content

Instantly share code, notes, and snippets.

@oleglomako
Last active September 11, 2021 17:54
Show Gist options
  • Select an option

  • Save oleglomako/186df353f5978d6255c347000cb8e30c to your computer and use it in GitHub Desktop.

Select an option

Save oleglomako/186df353f5978d6255c347000cb8e30c to your computer and use it in GitHub Desktop.
удалить папку идеи .idea/ из индекса гита
git rm -r --cached .idea/
Removed all files that are in the .gitignore
git rm --cached `git ls-files -i --exclude-from=.gitignore`
git commit -m 'Removed all files that are in the .gitignore'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment