0
我在我的目录下面的文件和符号链接添加新文件和符号链接。我的问题是如何添加符号链接 。应该我做following.All文件和符号链接是新的文件,这是尚未被提交首次在github上
git add s1 s2 readme.txt
然后做
git commit -m ""
git push origin master
继是我的文件
s1 -> readme.txt
s2 -> readme.txt
是的,你所提到的措施会奏效。请注意,如果您稍后将repo分叉到Windows,则符号链接将无法在此处工作。 –
结帐[此](http://stackoverflow.com/questions/954560/what-does-git-do-to-files-that-are-a-symbolic-link)交 –