Git global setup
git config --global user.name "bingo" git config --global user.email "[email protected]"
Create a new repository
git clone [email protected]:zhzb/cnsite.git cd cnsite touch README.md git add README.md git commit -m "add README" git push -u origin master
Existing folder or Git repository
cd existing_folder git init git remote add origin [email protected]:zhzb/cnsite.git git push -u origin master
时间: 2024-11-11 23:25:03