helm/shell/git/bin/git-move-root-to
2017-12-06 01:39:10 -05:00

9 lines
169 B
Bash
Executable file

#!/bin/sh
# Moves the git project's root to another folder
git filter-branch \
--subdirectory-filter "$@" \
--tag-name-filter cat \
--prune-empty -- --all