Cloning a repo from someone else's Github and pushing it to a repo on my Github

前端 未结 8 1045
小鲜肉
小鲜肉 2021-01-29 17:18

I cloned the repo at https://github.com/railstutorial/sample_app_rails_4 and made a lot of changes to it (I used it as a starting point for my own app), and now I would like to

8条回答
  •  失恋的感觉
    2021-01-29 17:45

    After cloning, copy the files from their folder into a new one and start afresh with git init,

    I had a similar problem like that I had to change the folder directory before I could stage the changes to my repo.

    or you can remove current repository origin by the command git remote remove origin.

提交回复
热议问题