找到git仓库
我已经安装了 git 一段时间了,但有一段时间没有使用它了。
今天,在学习带有express的节点教程时,我运行了以下命令,
1) git init
2) git add .
3) git commit -m 'Initial commit'
我得到的响应后面
"[master (root-commit) 3c87fc5] initial commit
1449 files changed, 95969 insertions(+), 0 deletions(-)"
跟着很多文件。
我如何知道文件提交到的实际存储库?
有人可以帮忙在哪里找到存储库配置吗?
I have setup git some time back and havent used it for some time.
Today while following a tutorial for node with express and i ran the following commands
1) git init
2) git add .
3) git commit -m 'Initial commit'
The response i got is
"[master (root-commit) 3c87fc5] initial commit
1449 files changed, 95969 insertions(+), 0 deletions(-)"
followed by lot of files.
How do i know the actual repository to which the files are committed?
Can some one please help where to find the repository configuration?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
存储库已在您运行这些命令的目录中创建。此存储库的配置将位于相对于该目录的 .git/config 文件中。
您是否在询问远程存储库?由于您所做的只是创建一个本地存储库,因此您将没有远程存储库。
The repository has been created in the directory you ran those commands. The configuration for this repo will be in the
.git/config
file, relative to that directory.Are you enquiring about the remote repository? Since all you've done is create a local repository, you won't have a remote.