This commit is contained in:
http://caust1c.myopenid.com/ 2013-08-12 20:42:39 +00:00 committed by admin
parent ec2bed4887
commit 9dc7a6fdea

View file

@ -8,12 +8,15 @@ Changing a file in a repository from a symlink to a normal file causes annex to
git init newrepo
cd newrepo && git annex init
touch realfile
git commit -am "added realfile"
git add .
git commit -m "added realfile"
mkdir newdir && cd newdir
ln -s ../realfile newfile
git commit -am "Added placeholder until we get assets from designers"
git add .
git commit -m "Added placeholder until we get assets from designers"
dd bs=1024 count=10000 if=/dev/zero of=newfile
git commit -am "Finally got assets from designers"
git add .
git commit -m "Finally got assets from designers"
ls -la newfile
# lrwxrwxrwx 1 user user <date> newfile -> ../.git/annex/objects/XX/XX/UUID/UUID