Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
它是一个java项目,我需要上传文件夹中的所有内容而不仅仅是源文件
您可以使用以下命令进行尝试:
git add folders_name/*.* git add folders_name/*
git add .
.git/info/exclude然后只需在您的文件中没有 .gitignore 和条目的情况下推送。
.git/info/exclude