git clone git://github.com/caporro/oldprojectname.git project
cd project
rm -rf .git
git init
git add *
git commit -m 'init commit from oldprojectname'
git remote add origin https://github.com/caporro/newprojectname.git
git push
Last active
May 9, 2019 20:12
-
-
Save caporro/b0f1b8e524fc3805e9d589d4c6132d95 to your computer and use it in GitHub Desktop.
Create new clean repository from a clone of a remote repository, Clone repo, clean, init and pull
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment