git-annex

How to migrate from Git-Annex to Git LFS

戏子无情 提交于 2019-12-24 10:23:30
问题 How can I migrate a repository in which I'm managing large files with Git-annex to manage them with Git LFS? Which commands should I run to disable annex and enable LFS? 回答1: After struggling a little bit, I've found the answer for this equation! We need to change annex mode to direct first, then git annex uninit , then change the mode back to indirect , then add, commit and push. $ git annex direct $ git annex uninit $ git annex indirect # add, commit and push # track with LFS (per file,

Remove git-annex repository from file tree

↘锁芯ラ 提交于 2019-12-10 15:16:34
问题 I tried installing git-annex yesterday to backup my files. I ran git annex add . in the root of my repository tree and then a git commit . So far everything is fine. What I didn't know git-annex was doing was turning my entire file tree into a whole bunch of symlinks. Every single file in my whole tree is now symlinked into .git/annex/objects ! This is messing up my application which depends on files not being symlinks. My question is, how do I get rid of git-annex and restore my file system

Does GitLab support large files via git-annex or otherwise?

北战南征 提交于 2019-12-05 22:47:08
问题 I run a GitLab instance and would like to allow my users to upload files of almost any size. It is well-known that git still has problems with large files. I am aware of approaches to circumvent this issue by storing the files somewhere else and versioning just the metadata, e.g. git-annex, git-media and git-fat. Are any of these integrated into GitLab, or would it be easy to do so? 回答1: As of February 18 2015 git-annex is supported on GitLab 7.8 Enterprise Edition 回答2: This is discussed and

git annex / ssh : ControlPath too long

本小妞迷上赌 提交于 2019-12-05 15:11:11
问题 when running the command : git annex sync, I get the following error: ControlPath too long Command ssh ["-S","<local path to git repo>/.git/annex/ssh/git@<git url>","-o","ControlMaster=auto","-o","ControlPersist=yes","git@<git url>","git-annex-shell 'configlist' '<local path to git repo>'"] failed; exit code 255 according to this , the issue is not git but ssh (but the solution proposed there did not work). Anything I could to to avoid this issue ? 回答1: "-S","<local path to git repo>/.git

git annex / ssh : ControlPath too long

爱⌒轻易说出口 提交于 2019-12-04 02:32:51
when running the command : git annex sync, I get the following error: ControlPath too long Command ssh ["-S","<local path to git repo>/.git/annex/ssh/git@<git url>","-o","ControlMaster=auto","-o","ControlPersist=yes","git@<git url>","git-annex-shell 'configlist' '<local path to git repo>'"] failed; exit code 255 according to this , the issue is not git but ssh (but the solution proposed there did not work). Anything I could to to avoid this issue ? "-S","<local path to git repo>/.git/annex/ssh/git@<git url>" This path shouldn't be longer then 92 characters, as unix(7) proposes: When coding

How do Git LFS and git-annex differ?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 18:26:20
问题 git-annex has been around for quite some time, but never really gained momentum. Git LFS is rather young and is already supported by GitHub, Bitbucket and GitLab. Both tools handle binary files in git repositories. On the other hand, GitLab seems to have replaced git-annex with Git LFS within one year. What are the technical differences? Do they solve the same problem? 回答1: They do solve the same problem. Let me start off with pro/con, then I'll move into technical differences. git-annex Pros