I have constantly encountered difficulty with github, honestly, I have to confess that I may not understand it thoroughly. Nowadays, people lack the patience to read through all the documentation and often time grab a piece of workable solution and walk away. It is me, I must confess. And, the consequences are that I face the embarrassment once in a while. It seems that github is a little stubborn to work as expect, but in reality it is that people have insufficient knowledge of it.
Today, my objective to solve the problem why github refuses to accept my push. As always, I would like to document this solution and give credits to all the source that I learned from.
- A goggle search comes back with https://github.com/orgs/community/discussions/133133
Haha, after all these effort, it turns out that my token has expired!!! So, it is a simple fix!!
Today, I clone Misra Turp’s deep learning github repo https://github.com/misraturp/Deep-learning-course-repo. And, I am working on what she has done, and I rename her repo and start building more. I need to make a little change before I can use it.
- git clone https://github.com/username/original-repo.git
- cd original-repo
- (I do NOT need to initiate it as normal), rather do the following and it works magically
- git remote remove origin
- Create a new repository on your GitHub account.
- git remote add origin https://github.com/your-username/your-new-repo.git
Leave a Reply