This commit is contained in:
parent
ec2bed4887
commit
9dc7a6fdea
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue