且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何git提交整个文件夹?

更新时间:2023-09-25 22:11:22

您没有提交文件夹",而是按照完成的操作添加了文件夹,然后只需提交所有更改.该命令应为:

You don't "commit the folder" - you add the folder, as you have done, and then simply commit all changes. The command should be:

git add foldername
git commit -m "commit operation"