- 1 名前:デフォルトの名無しさん [2008/07/08(火) 21:38:48 ]
- バージョン管理システムについて語りましょう。
関連スレ CVS 1.3 [UNIX板] pc11.2ch.net/test/read.cgi/unix/1093611448/ CVS導入スレ〜 Rev.3 [プログラム板] pc11.2ch.net/test/read.cgi/tech/1113141518/ Subversion r9 [プログラム板] pc11.2ch.net/test/read.cgi/tech/1202086238/ subversion バージョン管理【サブバージョン】 [Linux板] pc11.2ch.net/test/read.cgi/linux/1154701996/ git スレッド [Linux板] pc11.2ch.net/test/read.cgi/linux/1197798039/ 前スレ バージョン管理システムについて語るスレ pc11.2ch.net/test/read.cgi/tech/1193332500/
- 133 名前:デフォルトの名無しさん [2008/08/12(火) 12:09:54 ]
- Windowsでmsysgit試しています
code.google.com/p/msysgit/ リポジトリをつくり、適当にテキストを1行変更して git commit -a しようとすると、 You have some suspicious patch lines: > git commit -a * * You have some suspicious patch lines: * * In 1111.txt * trailing whitespace (line 1) 1111.txt:1:テストgemogegeg などといわれてコミットできません。 Capi’s Corner ≫ Blog Archive ≫ Git on Windows: “You have some suspicious patch lines” www.dont-panic.cc/capi/2007/07/13/git-on-windows-you-have-some-suspicious-patch-lines/ こちらのサイトで、 .git/hooks/pre-commit の if (/\s$/) { bad_line("trailing whitespace", $_); } をコメントアウトすればおkということがわかり、実際に大丈夫だったのですが、 毎回書き換えるのが面倒です。どうにかならないでしょうか? \Git\share\git-core\templates\hooks\pre-commit.noexec テンプレートがかと思ったのですが、変更しても git init した後に変わりはありませんでした。
- 134 名前:デフォルトの名無しさん mailto:sage [2008/08/12(火) 14:41:53 ]
- コメントにある
git-config core.autocrlf true git-config core.safecrlf true だと駄目なんですか?
|

|