node-lessons icon indicating copy to clipboard operation
node-lessons copied to clipboard

Heroku create后并没有在当前目录下建.git

Open xiekw2010 opened this issue 10 years ago • 2 comments

现在的做法是先把远程的clone下来,在把远程目录的.git复制到我的项目目录。在push到origin master上去,并没有heroku这个origin

xiekw2010 avatar Sep 30 '15 05:09 xiekw2010

你要用 heroku 的命令初始化你的目录

2015-09-30 13:33 GMT+08:00 David Tse [email protected]:

现在的做法是先把远程的clone下来,在把远程目录的.git复制到我的项目目录。在push到origin master上去,并没有heroku这个origin

— Reply to this email directly or view it on GitHub https://github.com/alsotang/node-lessons/issues/66.

alsotang avatar Sep 30 '15 07:09 alsotang

@xiekw2010 可以随时通过 git remote -v查看 origin 情况,确定问题所在。 heroku create 初始化。

byr-gdp avatar Dec 14 '15 17:12 byr-gdp