Git 全局设置

命令行指令

1. Git 全局设置
git config --global user.name "Dwight"
git config --global user.email "[email protected]"

2. 创建新版本库
git clone http://192.168.1.202/qf_app/suncity_ios.git
cd suncity_ios
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

3. 已存在的文件夹或 Git 仓库
cd existing_folder
git init
git remote add origin http://192.168.1.202/qf_app/suncity_ios.git
git add .
git commit
git push -u origin master

results matching ""

    No results matching ""