git-annex
Links
- <https://git-annex.branchable.com/>
- <https://git-annex.branchable.com/git-annex/>
- <https://git-annex.branchable.com/walkthrough/>
-
Usefull Commands:
-
Initialize git-annex repo:
-
git-annex init git-annex add ./files/
To initialize the remote repo push the git-annex branch:
git push origin git-annex
To sync only the symlinks and where each file is:
git-annex sync
Copy files to another remote:
git-annex copy ./files/* —to origin
and to fetch remote files run
git-annex copy ./files/* —from origin
If a remote was declared incompatible run this:
git config remote.origin.annex-ignore false
Unlock and Lock Files for editing
git-annex unlock path/to/file
Edit and save it
git commit