Git
Ignore whitespace when comparing lines. This ignores differences even if one line has whitespace where the other line has none. wと同等。 git-scm.com
応用力がない。。。 $ git ls-tree -r master --name-only stackoverflow.com www.shigemk2.com git-scm.com
git log --after="yesterday" git log --since="yesterday" stackoverflow.com Commit Limitingあたりを読んでもいまいちよくわからないという。 git-scm.com img.atwikiimg.com
git/2.31.1.txt at master · git/git · GitHub fsmonitorあたりかなあ 特に大きな変更はないかも
stackoverflow.com $ git ls-files -m git-ls-files - Show information about files in the index and the working tree git-scm.com modifiedだからmだね
git/2.30.2.txt at master · git/git · GitHub This release merges up the fixes that appear in v2.17.6, v2.18.5, v2.19.6, v2.20.5, v2.21.4, v2.22.5, v2.23.4, v2.24.4, v2.25.5, v2.26.3, v2.27.1, v2.28.1 and v2.29.3 to address the security issu…
Release v2.31.0-rc1 · git/git · GitHub そのうち
stackoverflow.com なんか特別なオプションあるかなあと思ったけど別にそんなことはなくって、pretty=formatで何も出力しないようにすれば(できるらしい)完結する。 git show --pretty="format:" --name-only -1
Release v2.30.1 · git/git · GitHub Git 2.30.1 by shigemk2 · Pull Request #70745 · Homebrew/homebrew-core · GitHub
https://github.com/git/git/releases/tag/v2.30.0-rc2 rc2
Release v2.30.0-rc1 · git/git · GitHub rc1
since after 指定した日付より後に作成されたコミットのみに制限する until before 指定した日付より前に作成されたコミットのみに制限する このあたりはTwitterと少し似ている(というかTwitterが似ている) Git - コミット履歴の閲覧
core.ignoreStat ファイルステータスを取るlstatを使わない。特にWindowsなFSでlstatが遅いことがあってそんなときに有効 This is useful on systems where lstat() calls are very slow, such as CIFS/Microsoft Windows. Git - git-config Documentation l…
プロトコル2がデフォルトで使える git grep高速化 など Highlights from Git 2.26 - The GitHub Blog git/2.26.0.txt at master · git/git · GitHub
shell_outputじゃなくてpipe_outputを使おうっていう話に落ち着いた Method: Homebrew::Assertions#pipe_output — Documentation for Homebrew/brew (master) Method: Homebrew::Assertions#shell_output — Documentation for Homebrew/brew (master)
特に意味はないけどsend-emailの実体はperlっぽい
commitするものがなにもない場合のgit commitの出力をgit statusに寄せた git switchにチュートリアル拡張 git/2.25.1.txt at master · git/git · GitHub
git switchでリモートブランチから新しくブランチを切り直せるので、これでよいのだが、名前がもはやcheckoutじゃねえ あと、当然といえば当然だが、bashのほうがいろいろ充実してる function fco -d "Fuzzy-find and checkout a branch" git branch --all |…
今一歩ですねー Release v2.23.0-rc2 · git/git · GitHub
Documentation/git-fsck.txt: include fsck.* config variables Release v2.23.0-rc1 · git/git · GitHub
$ git log --no-walk --tags --date=format:'%Y-%m-%d' --pretty="%ad %d" --decorate=full pretty-format一覧 Git - pretty-formats Documentation --tags refs/tagsの形式でタグだけを出す --no-walk 指定コミットだけ出す。--tagsとの組み合わせでタグ一…
bugfix なおhomebrewのformulaは作者がメンテするようになった Release Checking in changes prior to tagging of version v0.12.2 · motemen/ghq · GitHub
memo git diff patch diffとpatchを思い出すのがめんどくさい $ git diff master feature_bk > test.patch $ git checkout -b feature origin/master $ patch -p1 < test.patch
[<tag> ]<mode> <object> <stage> <file> っていう表示。 $ git ls-files -s github/Repository.py 100644 1d4514f5745add8ee1d52e062b7a61021b25aedd 0 github/Repository.py Git - git-ls-files Documentation stage numberについては、基本ゼロだけどコンフリクトが発生したときに1 2 3に</file></stage></object></mode></tag>…
PSDとかの大きめファイルを別ストレージで管理するためのツール。でかいファイルをfetch/pullするたびに時間とコストがかかるので、指定したファイル(この情報は.gitattributesに記載される)を別ストレージに保管するようにする。どのストレージかは自前で用…
git-commitするときに、特定のコミットのメッセージを再利用する。そのコミットのメッセージでそのままgit-commitするから、その場では編集はできない。 --reuse-message=<commit> Take an existing commit object, and reuse the log message and the authorship in</commit>…
git-merge allow-unrelated-histories --allow-unrelated-histories オプションを見てみる By default, git merge command refuses to merge histories that do not share a common ancestor. This option can be used to override this safety when merging…
Git installation Normally you can just do "make" followed by "make install", and that will install the git programs in your own ~/bin/ directory. ですって。なるほど。なお、make を実行すると直下にgitファイルができる。
git coding guidelines とりあえずCで書かれていることを覚えたい
git mailing list こちら。 https://git-scm.com/community