Git不推送所有文件和文件夹 [英] Git not pushing all files and folders
问题描述
我试图将整个目录推送到我的存储库。
每次我尝试这样做时,它都会推送自述文件,除此之外别无它法。正如你在第二张照片中看到的那样,那里只有README。第三张图片是我的主目录的样子。第一张照片是添加和推送的整个过程,告诉您我已经完成了必要的步骤。
我需要做些什么来确保所有文件和文件夹使用 git add *
来添加所有文件一个目录。
在您推送之前,您还需要确保运行
I'm trying to push the whole directory onto my repository.
Every time I try to do this, it just pushes the README, nothing else. As you can see in the second photo, there is only README on there. In the third picture is what my master directory looks like. The first picture is the whole process of adding and pushing, showing you that I've done the necessary steps. What do I need to do to ensure all files and folders get pushed? Use You also need to make sure you run 这篇关于Git不推送所有文件和文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! git commit -m您的提交消息 p>
git add *
to add all files in a directory. git commit -m "your commit message"
before you push