This commit is contained in:
parent
177376dc79
commit
c1f4b9fab8
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ On the first machine:
|
||||||
cd MyStuffs
|
cd MyStuffs
|
||||||
git init
|
git init
|
||||||
git annex init "Macbook"
|
git annex init "Macbook"
|
||||||
cat "First file" > first.txt
|
echo "First file" > first.txt
|
||||||
git annex add .
|
git annex add .
|
||||||
git commit -a -m added
|
git commit -a -m added
|
||||||
git annex initremote personal-server type=gcrypt gitrepo=ssh://user@foo.bar.com/home/user/MyStuffs keyid=XXXXXXXXX
|
git annex initremote personal-server type=gcrypt gitrepo=ssh://user@foo.bar.com/home/user/MyStuffs keyid=XXXXXXXXX
|
||||||
|
@ -23,7 +23,7 @@ On second machine
|
||||||
git clone gcrypt::ssh://user@foo.bar.com/home/user/MyStuffs test
|
git clone gcrypt::ssh://user@foo.bar.com/home/user/MyStuffs test
|
||||||
git annex enableremote personal-server gitrepo=ssh://user@foo.bar.com/home/user/MyStuffs
|
git annex enableremote personal-server gitrepo=ssh://user@foo.bar.com/home/user/MyStuffs
|
||||||
cd test
|
cd test
|
||||||
cat "BananaTest" > test
|
echo "BananaTest" > test
|
||||||
git annex add .
|
git annex add .
|
||||||
git commit -a -m added
|
git commit -a -m added
|
||||||
git annex sync --content
|
git annex sync --content
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue