Added a comment: RE: It's dangerous ignore a folder with same level folder of a .git directory

This commit is contained in:
badele 2015-03-28 10:24:01 +00:00 committed by admin
parent 3be0425fc2
commit b78af23b1c

View file

@ -0,0 +1,28 @@
[[!comment format=mdwn
username="badele"
subject="RE: It's dangerous ignore a folder with same level folder of a .git directory"
date="2015-03-28T10:24:00Z"
content="""
Hi,
Exemple of my project directories:
+ /tmp/git-annex
+ .git (git-annex git)
+ project_folder_with_git_folder/.git (garbage git project)
+ project_folder_with_git_folder/folder1
+ file1
+ project_folder_with_git_folder/folder2
+ file2
You can reproduce it
mkdir -p /tmp/git-annex && cd /tmp/git-annex
git init
git annex init test
cp -R project_folder_with_git_folder .
git annex add project_folder_with_git_folder
No files are added
"""]]