Special usecases

rename branch

clone repo in existing folder

git clone https://myrepo.com/git.git temp
mv temp/.git code/.git
rm -rf temp
git init
git remote add origin {{url_of_clone_source}}
git fetch origin
git checkout master # delete files that are blocking

Created 2024-11-15 12:38:08 UTC by Daniel Raab
Updated 2025-04-24 14:51:31 UTC by Daniel Raab