# Clone your git repo git clone https://github.com/lestatzhang/lestatzhang.github.io.git # Entre your local repo cd lestatzhang.github.io #Checkout git checkout --orphan latest_branch # Add all the files git add -A # Commit the changes git commit -am "Reinitialize" # Delete the branch git branch -D master # Rename the current branch to master git branch -m master # Finally, force update your repository git push -f origin master
Publishing this article is for the purpose of conveying more information, and does not mean agreeing with its views or confirming its description, nor does it mean that we are responsible for its authenticity. Should you have any questions or doubts about the content of the post, please don't hesitate to contact us. We will respond to you and deal with it as quickly as possible.