需求是需要将一个文件夹提交到代码仓库,但是又不能将里面的文件提交上去,只能提交空文件夹,方法是在该文件夹下新建一个.gitignore
,内容为:
# Ignore everything in this directory * # Except this file !.gitignore
网友207.*.*.134[Redmond]2022-08-13 13:48
网友40.*.*.73[美国]2022-08-13 13:48
网友66.*.*.86[火星]2022-08-13 13:18
网友185.*.*.24[火星]2022-08-13 13:01
发表评论
亲~ 评论内容是必须的哟! o(∩_∩)o
昵称
邮箱
主页
评论