GIT
General
git clone https://username:[email protected]/username/repo_name.gitDefault Branch
git config --global init.defaultBranch maingit branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -aRemove Git history
cat .git/config # note <github-url>
rm -rf .gitHotfix
Commit in past
Last updated