タグ

gitに関するd0iのブックマーク (3)

  • git rebaseを使うときのルール | Yakst

    Re: [git pull] drm-next Linus Torvalds Sun, 29 Mar 2009 14:48:18 -0700 (訳注 : Daveのrebaseのやり方が好みでないというLinusに対して) > 2009年5月29日(日曜日) Dave Airlieの発言 > > 今から自分がしようとしているのは、直線じゃないツリーを送ろうとしているだけだ。 > パッチを自分の次のツリーにマージする時はいつでも、そこにそれがあるからだ。 > 自分は、Ericのツリーを自分のツリーに直接プルして、その結果を送ろうとしている。 > きれいなマージ履歴について注意しているとは思っているけど、前に言ったように、 > カーネルツリーに関してのドキュメントが何もない状態では、君がどうしたいのか > 当のところは今の今まで分からないよ。 自分が求めているのは、きれいな履歴だ。でも、それ

    git rebaseを使うときのルール | Yakst
    d0i
    d0i 2013/08/01
    gitは自由で便利なツールなんだけど、間違ったことも簡単に行える作りなのがちょっと気になる。ここにある「してもよい」「してはならない」ってのはプログラム側で判断/markできないのか?
  • SubversionのリポジトリをGitのbareリポジトリとして移行する - Qiita

    SubversionのリポジトリをGitのbareリポジトリとして移行したい場合は、このようにするとできるようです。 git init --bare --shared=true foo.git cd foo.git git --bare svn init -s file:///path/to/svn/repo git --bare svn fetch $ git init --bare --shared=true foo.git Initialized empty shared Git repository in /path/to/foo.git/ $ cd foo.git $ git --bare svn init file:///path/to/svn/foo $ git --bare svn fetch A test.txt r1 = b4e77596a114e2bbf8ad2d13

    SubversionのリポジトリをGitのbareリポジトリとして移行する - Qiita
  • Git Cheatsheet

    stash workspace index local repository upstream repository status Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the workspace and the index file, and paths in the workspace that are not tracked by git. diff Displays the differences not added to the index. diff commit or branch View the changes you have in your workspace

  • 1