Big data files in git are handled by git annex. Thus those big files themselves are not commited to the git-lab webserver or other git repositories unless we use git annex commands to explicitly do so.
Big data files in git are handled by git annex. Thus those big files themselves are not commited to the git-lab webserver or other git repositories unless we use git annex commands to explicitly do so.
When a project is closed and we want to transfer files to the project requester, we should use the git annex commands described here for a largely automated procedure.
When a project is closed and we want to transfer files to the project requester, we should use the git annex commands described here for a largely automated procedure.
...
@@ -7,7 +9,8 @@ Most of time for a project requester, it is perferred to access files directly i
...
@@ -7,7 +9,8 @@ Most of time for a project requester, it is perferred to access files directly i
## Sample procedure
## Sample procedure
1. Init a git repository on the target file system, such as a USB harddisk
1. Init a git repository on the target file system, such as a USB harddisk.
```
```
hmei@Leon-LUMC:/media/hmei/3E4A-01AF$ mkdir annex
hmei@Leon-LUMC:/media/hmei/3E4A-01AF$ mkdir annex
hmei@Leon-LUMC:/media/hmei/3E4A-01AF$ cd annex/
hmei@Leon-LUMC:/media/hmei/3E4A-01AF$ cd annex/
...
@@ -27,6 +30,7 @@ ok
...
@@ -27,6 +30,7 @@ ok
```
```
2. Use the project folder as remote repository and sync it.
2. Use the project folder as remote repository and sync it.