开发者

RoR Tutorial question - where are my files?

I'm on Chapter 9 of RoR Tutorial by Mr. Hartl. However, it seems like the last 4 chapters worth of coding is gone. I've been following his git version control instructions during every lesson. But when I last checked my github account, every file showing in the master br开发者_如何学编程anch is from, at latest, 4 chapters ago. Was I not properly checking out? I'm so frustrated right now. Please help. Thank you very much.

P.S. I realize this started to happen when I typed the following (rake db:reset). But then again, I would think this would only affect the database entries, not my whole damn project.

Thanks for reading.


Does the code exist on your local system? If it does, did you push your code to GitHub?

git push [remote-name] [branch]

If you've used the default names it should be

git push origin master
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜