...create a new repository on the command line
echo "# t1" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:zhujunhua2012/t1.git
git push -u origin main
...or push an existing repository from the command line
git remote add origin git@github.com:zhujunhua2012/t1.git
git branch -M main
git push -u origin main
PS:
github中新建一個(gè)repository在跳,就會(huì)跳出如上的提示步驟丽蝎。