【发布时间】:2016-02-15 18:25:00
【问题描述】:
我在 github 中有一个远程存储库。我采取的步骤是:
git init //initializes git in current directorygit add * //adds every folder in directory to staging areagit commit -m "message here" //commits all files in staged area with messagegit remote add origin remoteURL //add remote repository from github
现在,最后一步:
git push origin master:master //this simply adds the file to the main page of my github repository.
如何将这些文件推送到 Github 存储库的现有文件夹中?我的 Github 存储库中有一个包含自述文件的文件夹“Requirements”。我需要把我的文件推到里面。
如果问题令人困惑,我很抱歉。我试图找到解决方案,但无法解决。
【问题讨论】:
标签: git github repository