2010年11月アーカイブ
git svn status - showing changes that are not committed to svn - Stack Overflow
リモートブランチを最新に更新しておく。$ git fetch $ git svn fetchリモートブランチを確認。
$ git branch -a * master remotes/origin/master remotes/svn/tags/RELEASE_20101022 remotes/svn/tags/RELEASE_20101025 remotes/svn/trunk差分を表示。
$ git diff remotes/origin/master差分を表示(簡易表示)
$ git diff --name-status remotes/origin/master差分を表示(subversionレポジトリ)
$ git diff --name-status remotes/svn/trunk
カテゴリー:
RedmineとGitの連携で「リポジトリに、エントリ/リビジョンが存在しません」と出た時の対処法 « Sinner The Sinner
Redmineでレポジトリをgitと同期するため、cronでRepository.fetch_changesetsをscript/runnerで実行したら、
git: not found
となって同期できなかった。
#GIT_BIN = "git" GIT_BIN = "/usr/local/bin/git"のようにgitへのパスを設定するようにしたら解決。(※)
※ r4795, r4797で、configuration.ymlにscm_git_commandを設定できるようになったので、上記修正は不要になった。
$ sudo chmod o+rx xxxx.git※gitosisでgitユーザのホームディレクトリにレポジトリがある場合は、ホームディレクトリもo+rxしておく。


最近のコメント