diff options
author | https://www.google.com/accounts/o8/id?id=AItOawn0hu_TPhLcUM1Ivvn7iIoZ_iD3g_5WDcs <Greg@web> | 2014-10-06 17:06:27 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-10-06 17:06:27 +0000 |
commit | 2e7e6a4c134939035f5f1093e780840c8f84b45e (patch) | |
tree | 897d75e6cf1fcd15719bb8c2592a9b00c60db5a3 | |
parent | 0cdddc314198bf9797883f066e2502a58f1cce46 (diff) |
Added a comment
-rw-r--r-- | doc/bugs/modified_permissions_persist_after_unlock__44___commit/comment_2_59f68098fa6edb2fe8902b120fda0280._comment | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/doc/bugs/modified_permissions_persist_after_unlock__44___commit/comment_2_59f68098fa6edb2fe8902b120fda0280._comment b/doc/bugs/modified_permissions_persist_after_unlock__44___commit/comment_2_59f68098fa6edb2fe8902b120fda0280._comment new file mode 100644 index 000000000..7938ad9ad --- /dev/null +++ b/doc/bugs/modified_permissions_persist_after_unlock__44___commit/comment_2_59f68098fa6edb2fe8902b120fda0280._comment @@ -0,0 +1,94 @@ +[[!comment format=sh + username="https://www.google.com/accounts/o8/id?id=AItOawn0hu_TPhLcUM1Ivvn7iIoZ_iD3g_5WDcs" + nickname="Greg" + subject="comment 2" + date="2014-10-06T17:06:27Z" + content=""" +ubuntu@ip-10-170-13-124:~$ mkdir annex +ubuntu@ip-10-170-13-124:~$ cd annex +ubuntu@ip-10-170-13-124:~/annex$ ls +ubuntu@ip-10-170-13-124:~/annex$ git init . +Initialized empty Git repository in /home/ubuntu/annex/.git/ +ubuntu@ip-10-170-13-124:~/annex$ git annex init \"test annex\" +init test annex ok +ubuntu@ip-10-170-13-124:~/annex$ echo \"foo\" > test.txt +ubuntu@ip-10-170-13-124:~/annex$ ls +test.txt +ubuntu@ip-10-170-13-124:~/annex$ ls -al +total 16 +drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 6 16:43 . +drwxr-xr-x 7 ubuntu ubuntu 4096 Oct 6 16:42 .. +drwxrwxr-x 9 ubuntu ubuntu 4096 Oct 6 16:42 .git +-rw-rw-r-- 1 ubuntu ubuntu 4 Oct 6 16:43 test.txt +ubuntu@ip-10-170-13-124:~/annex$ git annex add test.txt +add test.txt (checksum...) ok +(Recording state in git...) +ubuntu@ip-10-170-13-124:~/annex$ ls -al +total 16 +drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 6 16:48 . +drwxr-xr-x 7 ubuntu ubuntu 4096 Oct 6 16:42 .. +drwxrwxr-x 9 ubuntu ubuntu 4096 Oct 6 16:48 .git +lrwxrwxrwx 1 ubuntu ubuntu 176 Oct 6 16:43 test.txt -> .git/annex/objects/8Z/1J/SHA256-s4--b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c/SHA256-s4--b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c +ubuntu@ip-10-170-13-124:~/annex$ git commit test.txt +Aborting commit due to empty commit message. +ubuntu@ip-10-170-13-124:~/annex$ git commit test.txt -m first +[master (root-commit) 38a8e18] first + Committer: Ubuntu <ubuntu@ip-10-170-13-124.us-west-1.compute.internal> +Your name and email address were configured automatically based +on your username and hostname. Please check that they are accurate. +You can suppress this message by setting them explicitly: + + git config --global user.name \"Your Name\" + git config --global user.email you@example.com + +After doing this, you may fix the identity used for this commit with: + + git commit --amend --reset-author + + 1 file changed, 1 insertion(+) + create mode 120000 test.txt +ubuntu@ip-10-170-13-124:~/annex$ ls -al +total 16 +drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 6 16:48 . +drwxr-xr-x 7 ubuntu ubuntu 4096 Oct 6 16:42 .. +drwxrwxr-x 9 ubuntu ubuntu 4096 Oct 6 16:49 .git +lrwxrwxrwx 1 ubuntu ubuntu 176 Oct 6 16:43 test.txt -> .git/annex/objects/8Z/1J/SHA256-s4--b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c/SHA256-s4--b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c +ubuntu@ip-10-170-13-124:~/annex$ git annex unlock test.txt +unlock test.txt (copying...) ok +ubuntu@ip-10-170-13-124:~/annex$ cat test.txt +foo +ubuntu@ip-10-170-13-124:~/annex$ echo foobar > test.txt +ubuntu@ip-10-170-13-124:~/annex$ git commit test.txt -m second +add test.txt (checksum...) ok +ok +(Recording state in git...) +[master f265461] second + Committer: Ubuntu <ubuntu@ip-10-170-13-124.us-west-1.compute.internal> +Your name and email address were configured automatically based +on your username and hostname. Please check that they are accurate. +You can suppress this message by setting them explicitly: + + git config --global user.name \"Your Name\" + git config --global user.email you@example.com + +After doing this, you may fix the identity used for this commit with: + + git commit --amend --reset-author + + 1 file changed, 1 insertion(+), 1 deletion(-) +ubuntu@ip-10-170-13-124:~/annex$ git status +# On branch master +# Changes to be committed: +# (use \"git reset HEAD <file>...\" to unstage) +# +# typechange: test.txt +# +# Changes not staged for commit: +# (use \"git add <file>...\" to update what will be committed) +# (use \"git checkout -- <file>...\" to discard changes in working directory) +# +# typechange: test.txt +# +ubuntu@ip-10-170-13-124:~/annex$ + +"""]] |