don't forget to rewrite tags
This commit is contained in:
parent
af6a7c4b81
commit
70a6eb6d73
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ I finally got it working for my purposes. Hardest part was preserving the branch
|
||||||
#### Migrate repository
|
#### Migrate repository
|
||||||
mkdir .temp
|
mkdir .temp
|
||||||
cp .git-annex/* .temp/
|
cp .git-annex/* .temp/
|
||||||
MYWORKDIR=$(pwd) git filter-branch --tree-filter '
|
MYWORKDIR=$(pwd) git filter-branch \
|
||||||
|
--tag-name-filter cat \
|
||||||
|
--tree-filter '
|
||||||
mkdir -p .git-annex;
|
mkdir -p .git-annex;
|
||||||
cp ${MYWORKDIR}/.temp/* .git-annex/;
|
cp ${MYWORKDIR}/.temp/* .git-annex/;
|
||||||
for rpm in $(git ls-files | grep "\.rpm$"); do
|
for rpm in $(git ls-files | grep "\.rpm$"); do
|
||||||
|
|
Loading…
Reference in a new issue