helm/shell/git/bin/git-move-root-to

9 lines
169 B
Plaintext
Raw Normal View History

2014-09-19 15:23:55 -07:00
#!/bin/sh
# Moves the git project's root to another folder
2014-09-19 15:23:55 -07:00
git filter-branch \
--subdirectory-filter "$@" \
--tag-name-filter cat \
--prune-empty -- --all