初始化空的 git 存储库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11476600/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
initialized empty git repository
提问by SureshKumar Vegesna
i tried first sample Facebook App on Heroku in this command prompt i write like this
我在这个命令提示符下尝试了 Heroku 上的第一个示例 Facebook 应用程序,我是这样写的
1)$git remote
2)$git remote add heroku [email protected]:stellent.git
responses like this
像这样的回应
not a repository (or any of the parent directories): git
i enter $git init
response is
我输入$git init
响应是
initialized empty git repository in C
Is there any way to find correct responces
有没有办法找到正确的反应
thanks for advice
谢谢你的建议
采纳答案by Adam Dymitruk
create a directory and go into it:
创建一个目录并进入它:
mkdir project
cd !$
initialize this as a git repo
将其初始化为 git repo
git init
now you can run your remote commands
现在你可以运行你的远程命令