Says it commits, but in GitHub it doesn't show up

前端 未结 3 822
忘了有多久
忘了有多久 2021-02-19 20:02

I just installed rails on an Ubuntu machine. I set up git and made an ssh key to link to my account. I made a repository to commit to, and made a sample project to test with cal

3条回答
  •  春和景丽
    2021-02-19 20:44

    You need to push your commits.

    Try:

    $ git push origin master
    

    The reason for this, is because when you make a commit, it actually just commits to your "local repository".

    Read more on the difference between commits and pushes.

提交回复
热议问题