2014年7月7日 星期一

git add empty directory

$ mkdir aaa
$ cd aaa
$ vi .gitignore
# Ignore everything in this directory
*
# Except this file
!.gitignore




References :
How do I add an empty directory to a Git repository? - Stack Overflow

沒有留言:

張貼留言