Centpanel Settings My Sublime Settings
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git clone https://${{link}}/githubupgrade.git
cd githubupgrade
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
cd existing_folder
git init
git remote add origin https://${{link}}/githubupgrade.git
git add .
git commit
git push -u origin master
cd existing_repo
git remote add origin https://${{link}}/githubupgrade.git
git push -u origin --all
git push -u origin --tags
git remote -v
//origin [email protected]:USERNAME/REPOSITORY.git (fetch)
//origin [email protected]:USERNAME/REPOSITORY.git (push)
git remote set-url origin https://github.com/USERNAME/OTHERREPOSITORY.git
git remote -v
git remote -v
//origin https://github.com/USERNAME/REPOSITORY.git (fetch)
//origin https://github.com/USERNAME/REPOSITORY.git (push)
git remote set-url origin [email protected]:USERNAME/OTHERREPOSITORY.git
git remote -v
# Verify new remote URL
origin [email protected]:USERNAME/OTHERREPOSITORY.git (fetch)
origin [email protected]:USERNAME/OTHERREPOSITORY.git (push)
git remote set-url sofake https://github.com/octocat/Spoon-Knife
fatal: No such remote 'sofake'