Git global setup
1 git config --global user.name "wanglimin" 2 git config --global user.email "[email protected]"
Create a new repository
1 git clone [email protected]192.168.1.20:wanglimin/XenderWiFiUpload.git 2 cd XenderWiFiUpload 3 touch README.md 4 git add README.md 5 git commit -m "add README" 6 git push -u origin master
Existing folder or Git repository
1 cd existing_folder 2 git init 3 git remote add origin [email protected]192.168.1.20:wanglimin/XenderWiFiUpload.git 4 git push -u origin master
时间: 2024-11-07 14:58:30