Added a comment
This commit is contained in:
parent
77e12b7db8
commit
27b5a206b4
1 changed files with 55 additions and 0 deletions
|
@ -0,0 +1,55 @@
|
|||
[[!comment format=sh
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawn0hu_TPhLcUM1Ivvn7iIoZ_iD3g_5WDcs"
|
||||
nickname="Greg"
|
||||
subject="comment 2"
|
||||
date="2014-10-06T19:20:26Z"
|
||||
content="""
|
||||
ubuntu@hostname:~$ cd annex
|
||||
ubuntu@hostname:~/annex$ git init
|
||||
Initialized empty Git repository in /home/ubuntu/annex/.git/
|
||||
ubuntu@hostname:~/annex$ git annex init
|
||||
init ok
|
||||
ubuntu@hostname:~/annex$ echo foo > test.txt
|
||||
ubuntu@hostname:~/annex$ git annex add .
|
||||
add test.txt (checksum...) ok
|
||||
(Recording state in git...)
|
||||
ubuntu@hostname:~/annex$ git commit -a -m first
|
||||
[master (root-commit) fe54856] first
|
||||
1 file changed, 1 insertion(+)
|
||||
create mode 120000 test.txt
|
||||
ubuntu@hostname:~/annex$ git annex unlock test.txt
|
||||
unlock test.txt (copying...) ok
|
||||
ubuntu@hostname:~/annex$ echo foobar > test.txt
|
||||
ubuntu@hostname:~/annex$ echo foo > test2.txt
|
||||
ubuntu@hostname:~/annex$ git annex add .
|
||||
add test2.txt (checksum...) ok
|
||||
add test.txt (checksum...) ok
|
||||
(Recording state in git...)
|
||||
ubuntu@hostname:~/annex$ git commit -a -m second
|
||||
[master 1776b25] second
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
create mode 120000 test2.txt
|
||||
ubuntu@hostname:~/annex$ tree -d ./git/annex
|
||||
./git/annex [error opening dir]
|
||||
|
||||
0 directories
|
||||
ubuntu@hostname:~/annex$ tree -d .git/annex
|
||||
.git/annex
|
||||
├── journal
|
||||
├── objects
|
||||
│ ├── 8Z
|
||||
│ │ └── 1J
|
||||
│ │ └── SHA256-s4--b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
|
||||
│ └── q2
|
||||
│ └── Xj
|
||||
│ └── SHA256-s7--aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
|
||||
└── tmp
|
||||
|
||||
9 directories
|
||||
ubuntu@hostname:~/annex$ ls
|
||||
test2.txt test.txt
|
||||
ubuntu@hostname:~/annex$
|
||||
|
||||
|
||||
I'm expecting 3 SHA's in .git/annex, but I only see two.
|
||||
"""]]
|
Loading…
Reference in a new issue