git config --global http.sslVerify false
before_script:
- git config --global credential.helper store
- echo "https://账号:密码@git.bxxxxx.com" > ~/.git-credentials
after_script:
- rm -rf ~/.git-credentials
#初始化配置
git config --global user.name "starsliao"
git config --global user.email starsliao@163.com
#windows linux 共用git 需要忽略换行和文件权限的配置
git config --global core.autocrlf false
git config --global core.filemode false
git log -n1
git log -n1 --stat
git remote set-url origin gitlab@gitlab.chumob.com:php/hasoffer.git
git remote set-url origin https://starsliao@git.coding.net/starsliao/blizzmi.git
git config --global http.proxy http://192.168.10.2:1080
git config --global --get http.proxy
git remote -v
git config --global --unset http.proxy
git config --global --unset https.proxy
md5-c7a97a0146a6ae9cce0a64bba732e646
mkdir Blog
cd Blog
git init
echo "# Blog" >> README.md
git add README.md
git commit -m "first commit"
git remote add origin https://git.coding.net/starsliao/Blog.git
git push -u origin master
md5-4589c5f654a51c0ef49edcc2ca4d350a
git remote add origin https://git.coding.net/starsliao/Blog.git
git push -u origin master