Created
March 5, 2015 13:50
-
-
Save NicolasGeraud/adfd38607eaa04a51d1d to your computer and use it in GitHub Desktop.
GIT - faire qu'un repertoire devienne le root
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote rm origin | |
# Supprime les tags | |
for tag in `git tag`; do git tag -d $tag; done | |
# filtrer les commits n'appartenant qu'au module souhaité | |
git filter-branch --subdirectory-filter dir1 -- --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment