git初始化的几句shell
Command line instructions
Git global setup
git config --global user.name "abccccccc"
git config --global user.email "[email protected]"
Create a new repository
git clone [email protected]:abccccccc/sampleShell.git
cd sampleShell
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]:abccccccc/sampleShell.git
git add .
git commit
git push -u origin master

浙公网安备 33010602011771号