Questions tagged [git-annex]

git-annex allows managing files with Git, without checking the file contents into Git. While that may seem paradoxical, it is useful when dealing with files larger than Git can currently easily handle, whether due to limitations in memory, time, or disk space.

Git-annex is an alternative to ; both systems work by replacing the files that are to be managed by, but not stored in, Git with "link" files. Git then manages the link file instead of the actual data. The actual data for each commit must be stored independently somewhere. The interesting choices here are the "somewhere", how and when the versioned-outside-Git files are synchronized, and how the system itself ( or ) comes up with names for each versioned file.

The host site for git-annex is https://git-annex.branchable.com/

62 questions
1
vote
0 answers

Git merge says "The following untracked working tree files would be overwritten by merge" but the files listed are tracked

I don't see the files listed as untracked in git status, and have even tried to modify one and it does show up as modified in git status, so the files are tracked. Why does git merge says they are untracked? This is a git-annex repo if that…
Arnaud
  • 43
  • 3
1
vote
0 answers

Share a git-annex repository with a Unix group

I would like to make a repository readable and writable over ssh for all users of a given group. A quick search on stackoverflow led me to the following procedure : cd / # Enter inside the project directory git…
1
vote
1 answer

Moving a Gitolite (3) server that is using Git Annex

I'm currently in the process of moving a gitolite (3) installation between two servers. Thankfully, this process is pretty well documented on the main project website. However, my repositories makes pretty active use of git-annex which stores data…
Xaldew
  • 560
  • 5
  • 18
1
vote
1 answer

List all files in git repo not added by `git annex add`

Is there a way to list all files I added via git add (ref 1) and not by git annex add (ref 2)? mkdir myrepo cd myrepo git init . mkdir foo dd if=/dev/random of=foo/bar.ext count=1024 bs=1024 git add foo # <----- ref 1 git commit -m "add…
Libin Varghese
  • 1,506
  • 13
  • 19
1
vote
1 answer

Git annex 400 Error when initializing remote S3 repository

I'm trying to initialize a git annex remote repository using: git annex initremote cloud type=S3 encryption=none bucket=some-bucket But I am getting the following error: initremote cloud (checking bucket...) (creating bucket in US...)…
oo00oo00oo00
  • 473
  • 6
  • 16
1
vote
1 answer

How to migrate from Git-Annex to Git LFS

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?
Virtua Creative
  • 2,025
  • 1
  • 13
  • 18
1
vote
0 answers

How to sync files stored in git-annex with and from gitlab.com

I am trying to use git-annex with Gitlab.com but am getting an error when trying to sync my annexed files: git annex sync --content (merging origin/git-annex into git-annex...) (recording state in git...) GitLab: API is not accessible Remote…
wdkrnls
  • 4,548
  • 7
  • 36
  • 64
1
vote
1 answer

how to realize owncloud-like history preserving with git-annex

Owncloud allows to preserve only certain parts of the file history in order to optimize space consumption, e.g. for the last week keep two versions a day, for the last month one version a week, and so on. How do I realize a similar behavior with…
muffel
  • 7,004
  • 8
  • 57
  • 98
1
vote
1 answer

Using automake with files that may not be present in the source tree

I am transitioning to git-annex for storing data files in my git repo. With git-annex you can clone a repository and exclude the files in the annex until you specifically request them. So, Im trying to create a system in which users can build the…
Z K
  • 71
  • 6
1
vote
0 answers

automatically move older files to specific repositories with git-annex (assistant)?

I'm looking for an archiving solution that allows both local and cloud backup. git-annex assistant looks like the best way to do this for linux. However, I would like to tag older files (not accessed in more than 6 months) to go to amazon glacier,…
dhj
  • 512
  • 5
  • 16
1
vote
2 answers

Delete Accedental Git Commit

I use git annex to manage a large collection of video files. Instead of typing, git annex add . I managed to, git add . Now I ended up with a huge repo. How can I remove the files from git (already pushed to other 4 repos) re add them with annex.…
Hamza Yerlikaya
  • 49,047
  • 44
  • 147
  • 241
0
votes
1 answer

dereference repo-external symlinks during 'git annex copy'

I have a git repo using annex that contains a symlink to another volume/mount point. I'd like the external link to be treated like a file by annex. but git annex copy ignores it. Can git annex track external symbolic links? It looks like…
Will
  • 1,206
  • 9
  • 22
0
votes
1 answer

Google Colab Git-Annex Update Issue

I am trying to use Google Colab for a fMRI experiment, however, I have been struggling with incompatibilities between package versions (for datalad). At first, git did not update with sudo-apt get and I found the solution with this. sudo…
0
votes
1 answer

Is there a maximum file size limit on GitLab?

My goal was to use a GitHub repo as a private server for updating an app I made (don't want to publish on a market, I want it remains private). However, the problem started because I had a large file that was above the GitHub file size limit, so I…
lordp
  • 7
  • 3
0
votes
1 answer

What is the advantage of DVC, git-annex, git-lfs for large or binary files over git?

If I have different versions of a file, e.g., in different branches, and I try to reconcile those, git will has great mechanisms for that. However, in order to do the reconciliations, e.g., in a merge, git requires access to the "inside" of the…
Make42
  • 12,236
  • 24
  • 79
  • 155