diff options
author | https://www.google.com/accounts/o8/id?id=AItOawmOoUUh3p6rVO8X3rQ2_Mj0-VL1EyUKEHs <Ryan@web> | 2015-03-24 03:29:02 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-03-24 03:29:02 +0000 |
commit | 4b838d25c2556d96baa02b484753d617b382f27f (patch) | |
tree | 8ae41ff996a6eb04cd66b610ab60825f1b55153c | |
parent | f622aa1dcb9f95274df584ab4c2f2199dbd94c54 (diff) |
-rw-r--r-- | doc/todo/What_if_the_active_annex__39__ed_files_were_not_symlinks__63__.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/todo/What_if_the_active_annex__39__ed_files_were_not_symlinks__63__.mdwn b/doc/todo/What_if_the_active_annex__39__ed_files_were_not_symlinks__63__.mdwn new file mode 100644 index 000000000..366bf7968 --- /dev/null +++ b/doc/todo/What_if_the_active_annex__39__ed_files_were_not_symlinks__63__.mdwn @@ -0,0 +1,15 @@ +So annex is super cool and all. But there is one really annoying thing about it. The symlinks disrupt workflow really horribly! For example if I have a .psd file that is annex'd and I open that file in photoshop, edit it, then try to save it again. It doesn't allow me, because the actual file is the one deep in the annex sub structure that is read only. There a bunch of other annoyances like this. But you basically can't work with annex'd files without some additional struggle. + +But there is a solution to this. Just don't symlink the files that are active. I think potentially the simplest way to do this is to have a 'annex' and 'unannex' command. Or rather, a 'create symlink' and 'uncreate symlink' command. + +So then you can be going along, doing your work, nothing in your directory symlinked. + +You then type you 'annex symlink' command all priorly annexed filed will be deleted and replaced with their symlinks. + +Then you can add your new files to annex. Adding new files will just automatically symlink them unless you put like a -ns or something to signify to not symlink them. + +With all priorly annexed filed symlinked and all your new files symlinked, you then git commit and push. + +Then you do a git annex unsymlink command. And then all your symlinks are deleted and the actual file placed there. + +Then you just type git annex symlink again to re-symlink them all. |