博客
关于我
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/

你可能感兴趣的文章
Objective-C实现字符串boyer moore search博耶摩尔搜索算法(附完整源码)
查看>>
Objective-C实现字符串IP地址转DWORD地址(附完整源码)
查看>>
Objective-C实现字符串jaro winkler算法(附完整源码)
查看>>
Objective-C实现字符串manacher马拉车算法(附完整源码)
查看>>
Objective-C实现字符串wildcard pattern matching通配符模式匹配算法(附完整源码)
查看>>
Objective-C实现字符串word patterns单词模式算法(附完整源码)
查看>>
Objective-C实现字符串Z 函数或 Z 算法(附完整源码)
查看>>
Objective-C实现字符串加解密(附完整源码)
查看>>
Objective-C实现字符串反转(附完整源码)
查看>>
Objective-C实现字符串复制功能(附完整源码)
查看>>
Objective-C实现字符串是否回文Palindrome算法 (附完整源码)
查看>>
Objective-C实现字符串查找子串(附完整源码)
查看>>
Objective-C实现完整的ComplexNumber复数类(附完整源码)
查看>>
Objective-C实现实现rabin karp算法(附完整源码)
查看>>
Objective-C实现对图像进行色调处理算法(附完整源码)
查看>>
Objective-C实现对称矩阵压缩存储(附完整源码)
查看>>
Objective-C实现寻找欧拉路径/回路(附完整源码)
查看>>
Objective-C实现导弹跟踪算法(附完整源码)
查看>>
Objective-C实现将 base64 字符串转换为字节数组算法(附完整源码)
查看>>
Objective-C实现将位转换为浮点数bitsToFloat算法(附完整源码)
查看>>