使用git ssh密钥下载远程代码

小兔叽 可爱的博主

时间: 2020-10-13 阅读: 182 字数:931

{}
使用git,用实践换来的经验。喜欢吗

设置账号密码

git config --global user.name "116445324"

设置邮箱

git config  --global user.email "jiaxi.shao@farben.com.cn"

克隆

git  clone git@code.aliyun.com:GREE/AutomationProject-Code.git

拉取密钥

git clone git@code.aliyun.com:GREE/AutomationProject-Code.git

查看当前分支

git branch -a

图片的描述

选择分支

git checkout dev

拉取代码

git pull

git remote 不带参数,列出已经存在的远程分支 图片的描述

本文章网址:https://www.sjxi.cn/detil/d968179ec61f47bc9f810e7532ad1cc6

最新评论

当前未登陆哦
登陆后才可评论哦

湘ICP备2021009447号

×

(穷逼博主)在线接单

QQ: 1164453243

邮箱: abcdsjx@126.com

前端项目代做
前后端分离
Python 爬虫脚本
Java 后台开发
各种脚本编写
服务器搭建
个人博客搭建
Web 应用开发
Chrome 插件编写
Bug 修复