Dear all,
I'm a beginner in using git annex and got the following strange situation:
On my PC I have stored all the data and put them to git annex (don' know the standard nomenclature used here, but I guess its called setting up a repository)
On my Laptop I have now also git-annex and can have access to my stored data by git-annex get (so far so good thats git-annex)
Now comes the strange thing: On my laptop, I can see all the links to my data (where it shows me a path like ../../.git/annex/objects/...) but at my PC, where all the data should have been stored, the folder is empty. When I follow the link which is shown on the laptop, on my PC, I get access to the data. Some somehow, the data is still on my PC but not stored in its original folders but in .git/annex/objects/...
How can I get back my original folder from the .git/annex/objects on my PC?
Thank you very much for your help Stefan
Could you post the output of "git annex info" on both your laptop and desktop?
Also, what operating system are you using on both device?
on my PC (where the data should be): git annex info gives:
repository mode: indirect trusted repositories: 0 semitrusted repositories: 2 00000000-0000-0000-0000-000000000001 -- web e1664284-234f-4be1-8623-3fec7f406b57 -- here (Documents at myPC) untrusted repositories: 0 transfers in progress: none available local disk space: 138.66 gigabytes (+1 megabyte reserved) local annex keys: 1616 local annex size: 1.98 gigabytes annexed files in working tree: 125 size of annexed files in working tree: 350.37 megabytes bloom filter size: 16 mebibytes (0.3% full) backend usage: SHA256E: 1741
on my Laptop I get:
repository mode: indirect trusted repositories: 0 semitrusted repositories: 3 00000000-0000-0000-0000-000000000001 -- web 77106ecf-d208-4366-b70c-64def14c62bb -- here e1664284-234f-4be1-8623-3fec7f406b57 -- origin (Documents at myPC) untrusted repositories: 0 transfers in progress: none available local disk space: 207.67 gigabytes (+1 megabyte reserved) local annex keys: 7 local annex size: 181.68 megabytes annexed files in working tree: 1567 size of annexed files in working tree: 1.83 gigabytes bloom filter size: 16 mebibytes (0% full) backend usage: SHA256E: 1574
On both systems, I'm using Ubuntu 14.04
Thank you for your help, Stefan
Take a look at what git branch is checked out in your repository on the PC. It might have, eg, an old version of the "master" branch checked out, from before when the files were added.
Checking out the right branch will get you your files visible.
You might need to run
git annex sync
on the PC to pull in changes from the laptop.