博客
关于我
git的使用技巧汇总
阅读量:220 次
发布时间:2019-02-28

本文共 1090 字,大约阅读时间需要 3 分钟。

Git??????????

????

???????????

git config --global user.name "test"git config --global user.email "test@test.com"

????

??????????

git status

????

???????

git branch

???????

git branch -r

???????

git branch -a

??????????

git checkout -b dev origin/master

?????

??????????

git add index.php

????????????

git add -A

?????????

git rm --cached index.php

?????

???????????

git commit -am "new"

????

????????????

git pull origin master

????

????????????

git merge dev

????

?????????????

git push origin master

????

???????

git tag

???????

git tag -a v0.0.1 -m "version 0.0.1"

???????

git push origin --tag

???????

git tag -d v20200101

????

1. ????

?????????

git:remote: HTTP Basic: Access denied fatal: Authentication failed

???????????????????????????????

git config --system --unset credential.helper

2. ??pull/push?????????

???????????????

git config --global credential.helper store

??????????????????????

3. ??SSH??

??SSH???

ssh-keygen -t rsa -C "test@test.com"

????????id_rsa?????id_rsa.pub???????????????

C:\Users\Administrator.ssh?C:\Users\user.ssh

??

??????Git?????? SSH ?????????????????

转载地址:http://mxdp.baihongyu.com/

你可能感兴趣的文章
pocoserver无限重启_Poco::TCPServer框架解析
查看>>
POCO库中文编程参考指南(4)Poco::Net::IPAddress
查看>>
Quartz基本使用(二)
查看>>
POC项目安装与使用指南
查看>>
Podman核心技术详解
查看>>
pods 终端安装 第三方框架的一些命令
查看>>
Podzielno
查看>>
PoE、PoE+、PoE++ 三款交换机如何选择?一文带你了解
查看>>
PoE三种标准:标准 PoE、PoE+、PoE++,网络工程师必知!
查看>>
POI 的使用
查看>>
poi 读取单元格为null者空字符串
查看>>
poi-tl简介与文本/表格和图片渲染
查看>>
pointnet分割自己的点云数据_PointNet解析
查看>>
POI实现Excel导入Cannot get a text value from a numeric cell
查看>>
POI实现Excel导入时提示NoSuchMethodError: org.apache.poi.util.POILogger.log
查看>>
POI实现Excel导出时常用方法说明
查看>>
POI导出Excel2003
查看>>
POI数据获取及坐标纠偏
查看>>
Quartz入门看这一篇文章就够了
查看>>
POI解析Excel【poi的坑——空行处理】
查看>>