From 68015e4699a54c792c04386e34d5062874c2686b Mon Sep 17 00:00:00 2001 From: nath1as Date: Tue, 6 Oct 2020 13:53:35 +0200 Subject: [PATCH] git-annex: add page (#4421) --- pages/common/git-annex.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/git-annex.md diff --git a/pages/common/git-annex.md b/pages/common/git-annex.md new file mode 100644 index 000000000..95e80d7f7 --- /dev/null +++ b/pages/common/git-annex.md @@ -0,0 +1,29 @@ +# git annex + +> Manage files with git, without checking their contents in. +> When a file is annexed, its content is moved into a key-value store, and a symlink is made that points to the content. +> More information: . + +- Help: + +`git annex help` + +- Initialize a repo with git annex: + +`git annex init` + +- Add a file: + +`git annex add {{path/to/file_or_directory}}` + +- Show the current status of a file or directory: + +`git annex status {{path/to/file_or_directory}}` + +- Synchronize a local repository with a remote: + +`git annex {{remote}}` + +- Get a file or directory: + +`git annex get {{path/to/file_or_directory}}`