Log4think
[com.log4think]-[DEBUG] stay hungry, stay foolish
Browse: Home / git

git

代码段速记 gist.github.com


github最初的主要功能是类似sourceforge和google code的代码库存储发布,后来感觉有点往类似面向程序员的SNS方向发展。没有想到从git这样一个貌似很常见的版本版本管理工具的基础上,能够发展出这么多形形色色的功能。最近又发现发布了gist.github.com这样的保存代码段[......]

阅读全文

Posted in 知(knowledge) | Tagged gist, git, github

Git中判断一个commit是否在某个branch中

方法1:

git branch --contains commit

方法2:查找reflog

git reflog show --all | grep a871742

会有类似如下的结果:

a871742 refs/heads/completion@{0}: commit (amend):[......]

阅读全文

Posted in git, 行(practice) | Tagged git | Leave a response

搜索

  • About
  • CV

Categories

  • 极客&玩物(Geek&Gadget) (9)
  • 知(knowledge) (10)
  • 行(practice) (29)
    • 写代码(coding) (14)
      • android (5)
      • C/C++ (2)
      • debug (1)
      • others (1)
      • python (2)
      • web (1)
      • 算法(algorithm) (3)
    • 玩玩(Fun) (3)
      • WoW/Trinity (3)
    • 系统(system) (8)
      • git (1)
      • linux (4)
      • wordpress (2)
    • 读代码(code reading) (8)
  • 译(translation) (8)

RSS Log4think

  • 代码段速记 gist.github.com
  • A perl Data.Dumper clone for Python
  • The Nerd? Geek? or Dork? Test
  • 使用Gmail作为非加密认证SMTP服务器
  • 魔兽世界 3.3.5 13930 Trinity 认证补丁
  • 魔兽世界3.3.5 13930登录数据包分析
  • 魔兽世界私服Trinity,从源码开始
  • 统一业务模型(UBM) in ERP5
  • 制作ASCII字符动画
  • Ubuntu升级导致的udevd错误修复
  • 行列有序矩阵求第K个数
  • 字节按位逆序
  • 编程之美 1.2 中国相帅问题的一个简洁解法
  • 极客日志(2011-01)
  • 为Windows 7/Windows Server 2008添加IPX协议
  • How to debug with Android Logging
  • 极客日志(2010-10)
  • 利用google-code-prettify做网页内源码的语法高亮
  • 极客日志(2010-09)
  • 星际争霸2的大学专业?

android ANR ASCII AsyncTask auto-excerpt cpio debug eclipse erp5 flame Gadget geek git go google google voice graphics Intent Service interview ipkall iptel.org IPX java javascript karmic learning linode linux log model nimbuzz online painting plugin problem python sharpdevelop sip source Tools ubuntu wordpress wow 源码分析 魔兽世界

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Reference

  • Latex Command List

Tools

  • codemirror – In-browser code editor
  • codepad – Online Code Compiler
  • Kodingen – Cloud Development
  • Online JavaScript editor
  • Online VI editor

看过的书

My Plan

功能

  • 注册
  • 登录
  • 文章 RSS
  • 评论 RSS
  • WordPress.org

41
今日访问
独立IP
Powered By Google Analytics

Copyright © 2011 Log4think.

Powered by WordPress and Hybrid.