Skip to content

Instantly share code, notes, and snippets.

@indrapermana
Created October 2, 2017 06:02
Show Gist options
  • Save indrapermana/e842012bfa9f85e238704613c6ed2833 to your computer and use it in GitHub Desktop.
Save indrapermana/e842012bfa9f85e238704613c6ed2833 to your computer and use it in GitHub Desktop.
Remove folder from git repository
#add [folder name] to .gitignore file
git rm -r --cached [folder name]
git commit -m 'Removing the folder for ignored!'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment