怎样做淘宝联盟的网站,网站群建设公司,wordpress crm主题,北京工装装修公司排名前十1.先下载git相关软件
下载地址#xff1a;
https://git-scm.com/download/win下载其中一个安装 2.打开gitee网站#xff0c;注册账号 3.打开个人中心#xff0c;选择ssh公钥#xff0c;查看如何生成公钥
4.生成公钥后#xff0c;添加相应的公钥
具体仓库操作
1.第一…1.先下载git相关软件
下载地址
https://git-scm.com/download/win下载其中一个安装 2.打开gitee网站注册账号 3.打开个人中心选择ssh公钥查看如何生成公钥
4.生成公钥后添加相应的公钥
具体仓库操作
1.第一次提交需要配置账号
或者直接通过终端修改
git config --global user.name 用户名
git config --global user.email 邮箱
git config --global user.password 密码2.克隆项目到本地
git clone xxxx地址如果是克隆项目指定分支到本地
git clone -b xxxx分支名称xxxxx地址3.拉取指定分支更新记住第一次clone之后每次需要更新都是直接运行此命令
git pull origin devlop(远程分支名称)如果不拉取指定的分支直接
git pull4.添加修改项
git add .5.提交
git commit -m “xxx描述”6.推送
git push推送到指定分支
git push origin develop 3.常见问题
1.unable to rewind rpc post data - try increasing http.postBuffer
说明http.postBuffer太小需要设置更大的值 运行以下命令
git config --global http.postBuffer 5242880002.RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054 运行以下命令
git config http.sslVerify false
git config https.sslVerify false如果继续报错fatal: not in a git directory
需要先运行 git init 在运行
git config http.sslVerify false
git config https.sslVerify false如果还不行运行下面命令将https提交切换为http提交
git remote set-url origin http://gitee.com/xxxxxxx3.如果一开始密码配置错误 可以打开windows凭据 控制面板-用户账户-windows凭据 找到git凭据进行修改