Git问题记录大全

 

我常用的一些linux命令

https://blog.csdn.net/xindoo/article/details/85193744

 

///2019----1------15///

[git]merge和rebase的区别
https://www.cnblogs.com/xueweihan/p/5743327.html

【Git系列】gitbook介绍和安装整理
https://www.cnblogs.com/pinefantasy/articles/6287177.html

//--------------------important------------------------//
gitpush出现youarenotallowedtouploadmerges的解决方法
https://www.2cto.com/net/201803/727258.html
Git分布式版本控制
https://www.cnblogs.com/pinefantasy/category/937795.html

【Git系列】git rebase详解
https://www.cnblogs.com/pinefantasy/articles/6287147.html
//--------------------important------------------------//
git reset 三种用法总结
https://blog.csdn.net/alphapersonality/article/details/80581730

Git恢复之前版本的两种方法reset、revert (图文详解)
https://blog.csdn.net/yxlshk/article/details/79944535

git 删除 错误 提交的 commit
https://blog.csdn.net/wh_19910525/article/details/7439915

git reset soft,hard,mixed之区别深解
https://www.cnblogs.com/kidsitcn/p/4513297.html

//------------------Git-----系列-----------------//
0)深入浅出剖析C语言函数指针与回调函数(一)  回调函数;
https://blog.csdn.net/morixinguan/article/details/65494239

1)Git撤销本地commit
https://blog.csdn.net/sinat_36246371/article/details/79995661

本人总是干这种挫事情:一顿操作猛如虎,各种git add,各种git commit,最后一看,我擦,还特么在master上,太吓人了,这咋办?——撤销commit:

$ git commit -m "commit on master"
$ git reset HEAD~  

这样撤销了上面的commit。 
后续该回滚回滚,该新建分支新建分支。

最后切记,时刻查看当前branch是个好习惯。
---------------------------------------
 
作者:K.Sun 
来源:CSDN 
原文:https://blog.csdn.net/sinat_36246371/article/details/79995661 
版权声明:本文为博主原创文章,转载请附上博文链接!

2) git 撤销commit
https://zhyq0826.iteye.com/blog/1671638

3) git push提交成功后如何撤销回退
https://blog.csdn.net/guozhaohui628/article/details/78922946

4)git stash单个文件

5)git stash的详细讲解
https://www.jianshu.com/p/14afc9916dcb

6)浅析strlen()和sizeof()
https://blog.csdn.net/codezixuan/article/details/76850384

//----------important----------------//
Git分布式版本控制
https://www.cnblogs.com/pinefantasy/category/937795.html

【Git系列】git rebase详解
https://www.cnblogs.com/pinefantasy/articles/6287147.html
//----------important----------------//

///2019----1------19///

 

 

 

精华版 ---start

02_创建Git仓库,克隆仓库,git add,git commit,git push,git pull,同行冲突,不同行冲突的结局方案,git mergetool的使用

https://blog.csdn.net/tototuzuoquan/article/details/47072705

 

git提交错误 git config --global user.email "you@example.com" git config --global user.name "Your Name

https://blog.csdn.net/qq_25958497/article/details/78817821

 

Git配置用户名与邮箱

https://www.cnblogs.com/gudi/p/6597660.html

 

 

一 :git stash (三篇)
1: git stash 用法
https://www.cnblogs.com/yanghaizhou/p/5269899.html

2: git-stash用法小结
https://www.cnblogs.com/tocy/p/git-stash-reference.html

3: 关于git stash的应用总结
https://www.cnblogs.com/happyhaibei/p/8036997.html


二 : git  rebase ()
git rebase之前需要commit才行
https://blog.csdn.net/longshenlmj/article/details/17143607


简单对比git pull和git pull --rebase的使用
https://www.cnblogs.com/kevingrace/p/5896706.html


[整理]git rebase的用法
https://blog.csdn.net/TTKatrina/article/details/79288238

///

Git的常用撤销技巧与解决冲突方法
https://www.cnblogs.com/wihainan/p/6010895.html


[整理]git rebase的用法
https://blog.csdn.net/TTKatrina/article/details/79288238

rebase
http://gitbook.liuhui998.com/4_2.html


git stash的详细讲解
https://www.jianshu.com/p/14afc9916dcb


【Git系列】git rebase详解
https://www.cnblogs.com/pinefantasy/articles/6287147.html

【Git】rebase 用法小结
https://www.jianshu.com/p/4a8f4af4e803

git(十六) git rebase 实战
https://blog.csdn.net/wzq6578702/article/details/76736008

Git取消合并(merge)、暂存修改(stash)、回退到某个版本(reset)的使用方法
https://blog.csdn.net/u011884440/article/details/71246562

git问题记录--如何从从detached HEAD状态解救出来
https://www.jianshu.com/p/ae4857d2f868


git rease之前需要commit吗?

git rebase之前需要commit才行
https://blog.csdn.net/longshenlmj/article/details/17143607

查看commit修改的内容
https://blog.csdn.net/zhuiyuanqingya/article/details/79469780

//

git清空当前工作区
详解Git工作区、暂存区、历史记录区以及git reset、git revert、git checkout等撤销命令的区别
http://josh-persistence.iteye.com/blog/2215214


git 的使用(4)-git暂缓区工作区原理和修改删除等命令
https://blog.csdn.net/think2me/article/details/39056379


git提交gerrit 流程笔记

https://blog.csdn.net/hexiaodouaipiqiu/article/details/51750465

https://blog.csdn.net/ncuboy045wsq/article/details/73441832

https://blog.csdn.net/antchen88/article/details/78063051

https://blog.csdn.net/wzq6578702/article/details/76736008


Linux tcpdump命令详解
https://www.cnblogs.com/x_wukong/p/5691743.html
 


git的hook机制:利用 git commit --amend重新生成 Change-Id的原理:
http://www.360doc.com/content/17/0615/18/10058718_663431721.shtml


git如何创建远程仓库
https://blog.csdn.net/xuyong7/article/details/50515918

git创建远程仓库并上传代码到远程仓库中
https://blog.csdn.net/liuweixiao520/article/details/78971221


初步创建远程仓库,将本地仓库上传到git 远程仓库里 (码云)
https://blog.csdn.net/wutao63/article/details/62889852

新建Git仓库并添加本地项目
https://blog.csdn.net/theonegis/article/details/80115316


为什么先commit,然后pull,最好在push?
https://blog.csdn.net/jb_home/article/details/80957466
 

git rease之前需要commit吗?

git rebase之前需要commit才行
https://blog.csdn.net/longshenlmj/article/details/17143607

查看commit修改的内容
https://blog.csdn.net/zhuiyuanqingya/article/details/79469780

git add . ?
git commit ?
 

git-stash用法小结
https://www.cnblogs.com/tocy/p/git-stash-reference.html


git stash 用法
https://www.cnblogs.com/yanghaizhou/p/5269899.html


关于git stash的应用总结
https://www.cnblogs.com/happyhaibei/p/8036997.html
 

一 :git stash (三篇)
1: git stash 用法
https://www.cnblogs.com/yanghaizhou/p/5269899.html

2: git-stash用法小结
https://www.cnblogs.com/tocy/p/git-stash-reference.html

3: 关于git stash的应用总结
https://www.cnblogs.com/happyhaibei/p/8036997.html


二 : git  rebase ()
git rebase之前需要commit才行
https://blog.csdn.net/longshenlmj/article/details/17143607


简单对比git pull和git pull --rebase的使用
https://www.cnblogs.com/kevingrace/p/5896706.html


[整理]git rebase的用法
https://blog.csdn.net/TTKatrina/article/details/79288238


//Important
git如何创建远程仓库
https://blog.csdn.net/xuyong7/article/details/50515918
 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值