mkdir -p && cdg clone <url> && cdgs=git status
Last active
August 29, 2015 14:18
-
-
Save kvendrik/f2c89cba99822bb8f236 to your computer and use it in GitHub Desktop.
Git Merge 2015 Notes
Update all submodules
git submodule foreach git pull
Remove everything from git except the specified directory
git filter-branch -f --subdirectory-filter docs
Add submodule to repo
git submodule add https://github.com/kvendrik/internal-project-docs.git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
