0

git小技巧(10)——如何同original master进行rebase

Posted by nanxiao on 二月 2, 2017 in git小技巧 |

同original repository的master branch rebase的方法: (1) git f […]

标签:

0

git小技巧(9)——避免提交时每次输入用户名和密码

Posted by nanxiao on 八月 25, 2016 in git小技巧 |

避免每次提交改动时输入用户名和密码,可以使用下列命令: $ git config credential.hel […]

标签:

0

git小技巧(8)——“git checkout – ”

Posted by nanxiao on 九月 7, 2015 in git小技巧 |

git checkout -切换到之前工作的branch。请看例子: [root@localhost debu […]

标签:

0

git小技巧(7)——“git format-patch ..

Posted by nanxiao on 八月 28, 2015 in git小技巧 |

git format-patch <rev1>..<rev2>会产生两个commit之 […]

标签:

0

git小技巧(6)——“git branch -m

Posted by nanxiao on 八月 11, 2015 in git小技巧 |

git branch -m <oldname> <newname>可以把branch重 […]

标签:

0

git小技巧(5)——“git checkout -b

Posted by nanxiao on 八月 11, 2015 in git小技巧 |

git checkout -b <branch>”创建一个新的branch,并且切换到这个bran […]

标签:

0

git小技巧(4)——“git commit -a -m

Posted by nanxiao on 八月 7, 2015 in git小技巧 |

git commit -a -m “<message>”可以stage所有已经tracked的文件 […]

标签:

0

git小技巧(3)——“git branch -D

Posted by nanxiao on 八月 7, 2015 in git小技巧 |

git branch -D <branch-name>可以强行删除没有merge的分支。需要注意的 […]

标签:

0

git小技巧(2)——“git commit -m”

Posted by nanxiao on 八月 6, 2015 in git小技巧 |

git commit -m可以直接在命令行输入commit message,而不用打开编辑器输入了。例如: [ […]

标签:

0

git小技巧(1)——“git log –oneline”

Posted by nanxiao on 八月 6, 2015 in git小技巧 |

git log –oneline可以让一个commit只用一行输出,这样显得特别紧凑。例如: [root@l […]

标签:

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Multi Child-Theme, v2.2, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from BuyNowShop.com