Add git-move-root-to extension
This commit is contained in:
parent
f2734c33ed
commit
d6103b4c25
6
bin/git-move-root-to
Executable file
6
bin/git-move-root-to
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git filter-branch \
|
||||||
|
--subdirectory-filter "$@" \
|
||||||
|
--tag-name-filter cat \
|
||||||
|
--prune-empty -- --all
|
Loading…
Reference in a new issue