2011-09-01から1ヶ月間の記事一覧
git-rebase を使った開発の流れが固まってきたので、ブログで晒してみます。 window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); j…
参考にしたページ bashでgitとmercurialを使いやすくする - YAMAGUCHI::weblog 環境 Ubuntu 11.04 変更箇所 .bashrc の「PS1=....」みたいな所を下記のような感じで変更する。 .bashrc # prompt command hg_branch() { hg branch 2> /dev/null | awk '{print…
世間的に「Gitはコミットログを書き換えられてキモい」と言われ、肩身が狭いので git-rebase の説明を書いてみた。 git help から引用 まずは基本に忠実に、ヘルプを読みましょう。 git help rebase SYNOPSIS git rebase [-i | --interactive] [options] [--…
2011/05/12のブログで.gitconfig を晒した後に増えたエイリアスを少し解説。 最新の.gitconfigはgithubのsinsoku/dotfilesに置いてある。 git ft ft = fetch -n --pruneタグは後述するfttで取得するため、-n(--no-tags)を設定している。 また、削除されたリ…
今更だけどgithub でdotfilesを管理し始めてみた。https://github.com/sinsoku/dotfiles