blob: 85964d1ea5ebcd5aa0ce04555656dbceca5b0334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# cd ~/annex
# git mv big_file my_cool_big_file
# mkdir iso
# git mv debian.iso iso/
# git commit -m moved
You can use any normal git operations to move files around, or even
make copies or delete them.
Notice that, since annexed files are represented by symlinks,
the symlink will break when the file is moved into a subdirectory.
But, git-annex will fix this up for you when you commit --
it has a pre-commit hook that watches for and corrects broken symlinks.
|