本文介绍了Git存储文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在项目中运行以下命令:
git init
git add。
git commit -a -m'初始'
实际存储这个存储库? (它在我的本地机器上,但在哪里?) 它会在中创建您的存储库。 git
文件夹。
I just ran the following commands on my Ruby on Rails project:
git init
git add .
git commit -a -m 'Initial'
Where does Git actually store this repository? (It's on my local machine, but where?)
解决方案
It will create your repository in the .git
folder in the current directory.
这篇关于Git存储文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!