1、 git 安装
yum install git
2 、下载代码
git clone 代码地址
3、已经下载代码的git 地址
git remote -v
4、强制覆盖本地
gti fetch --all
git reset --hard origin/master
git pull
5、Centos 记住git 密码
git config --global credential.helper store
yum install git
git clone 代码地址
git remote -v
gti fetch --all
git reset --hard origin/master
git pull
git config --global credential.helper store
本文标题:GIT常用操作
本文链接:https://www.haomeiwen.com/subject/dnbbdqtx.html
网友评论