创建新仓库
echo "# ThinkPHPLogScan" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/safe6Sec/ThinkPHPLogScan.git
git push -u origin master
提交到已有仓库
git remote add origin https://github.com/safe6Sec/ThinkPHPLogScan.git
git branch -M master
git push -u origin master
当前项目(仓库)记住密码
git config credential.helper store
创建分支
查看分支
git branch
创建tp1分支,并切换
git checkout -b tp1
切换分支
git checkout master