Skip to content

Instantly share code, notes, and snippets.

@knarz
Created June 22, 2016 15:41
Show Gist options
  • Save knarz/2b66466a62ee965208055bb8f7bbc766 to your computer and use it in GitHub Desktop.
Save knarz/2b66466a62ee965208055bb8f7bbc766 to your computer and use it in GitHub Desktop.
remove vendor submodules from golang repository
git ls-files --stage|grep "^16" # show all submodules
git rm --cached -r vendor && git add vendor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment