码迷,mamicode.com
首页 >  
搜索关键字:branch    ( 1809个结果
git 使用技巧之采用别名,简化命令
git config --global alias.st statusgit config --global alias.ci commitgit config --global alias.co checkoutgit config --global alias.br branch之后的git s...
分类:其他好文   时间:2015-03-31 12:31:59    阅读次数:143
git pull远程所有分支
利用git branch -r |grep -v "master" |awk '{print "git checkout -t " $1}'重成命令后,执行。其中,git checkout -t origin/draft_getrandom等于git checkout -b draft_getran...
分类:其他好文   时间:2015-03-30 20:50:10    阅读次数:151
git操作回顾:
1. git查看自己的本地分支: ***:~/mysite/mysite$ git branch * master2. 查看远程分支: ***:~/mysite/mysite$ git branch -a* master remotes/origin/HEAD -> origin/master...
分类:其他好文   时间:2015-03-30 16:06:59    阅读次数:169
git 的常用命令
git clone git@git20.hujiao.me:server/bilinserver.git 目标路径 ---------------- 服务器拉取某个git仓库到本地来git branch --------- -------------------------------------....
分类:其他好文   时间:2015-03-20 20:06:22    阅读次数:103
初用 Git 小问题解决备忘录
今天使用git 第一次使用,在使用git push时报错 No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as ‘master‘. fatal: The remote end hung up unexpectedly er...
分类:其他好文   时间:2015-03-20 19:02:34    阅读次数:163
玩转git分支
搞个代码的管理工具,居然不弄上分支啥的东西。这简直太low了。尤其是在使用了传说中得很牛X的Git的时候,尤其显得low。拿着青龙偃月刀当烧火棍子使,关公知道了还不重反人间教育你!? 远程分支 要说分支就一定要从分支产生的最遥远的历史谈起。这一切开始于你用clone命令从远端把代码库的代码拉取到本地开始。这个时候,git自动把这个远端代码库命名为origin并自动创建一个origin/...
分类:其他好文   时间:2015-03-19 16:27:34    阅读次数:173
gcov源码,供学习使用。
摘自http://www.opensource.apple.com/source/gcc/gcc-5484/gcc/gcov.c 1 /* Gcov.c: prepend line execution counts and branch probabilities to a 2 sou...
分类:其他好文   时间:2015-03-19 12:51:05    阅读次数:138
LeetCode – Refresh – Binary Tree Post Order Traversal
Still 3 methods:Same with inorder, but post order is a little different. We need to treat it as reverse result of preorder.So we go to right branch fi...
分类:其他好文   时间:2015-03-18 08:57:58    阅读次数:132
LeetCode – Refresh – Binary Tree Maximum Path Sum
Use lMax get the maximum value of a sub SINGLE branch (left branch or right branch or just current node).Use gMax get the maximum value of the whole s...
分类:其他好文   时间:2015-03-18 08:56:01    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!