【发布时间】:2017-09-08 21:38:01
【问题描述】:
在 GitHub Desktop 程序的帮助下,我在 GitHub 上做了一个提交项目
https://zapodaj.net/394446cec1850.png.html,
但我忘了在提交描述中再添加一句话。我想编辑这个commita,但是我无法管理GitHub Desktop,所以我想使用git bash。但是,我不知道如何与存储库连接,制裁在地址C:\Users\Jonatan\Documents\GitHub\REST-Web-Services 上并且在git bush 中出错,因为它不在存储库https://zapodaj.net/30b69c3ce1606.png.html 中。
如何进入这个仓库以便使用命令?
git commit --amend
【问题讨论】:
-
cd进入你的仓库所在的文件夹 -
cd C:\Users\Jonatan\Documents\GitHub\REST-Web-Services会将您放入正确的文件夹中
标签: git bash github github-desktop