Skip to content

Instantly share code, notes, and snippets.

@takai
Created March 18, 2009 07:47
Show Gist options
  • Save takai/80992 to your computer and use it in GitHub Desktop.
Save takai/80992 to your computer and use it in GitHub Desktop.
[壁の中]
# 最新に更新
> git checkout master
> git pull
# 今日のbranch
> git branch `date -I` master
# 作ったbranchに移動
> git checkout `date -I`
## ごにょごにょ編集
# パッチ作成
> git format-patch origin
# パッチメール送信
> git send-email 0001-***.patch
[壁の外]
# 最新に更新
> git pull
# パッチ適用
> git am mbox
# あるいはだめなときは
> git apply 0001-***.patch
# commitしてpush
> git commit -a -m "hoge"
> git push
めでたし
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment