by shigemk2

当面は技術的なことしか書かない

show all tags in git log

git log --no-walk --tags --pretty="%h %d %s" --decorate=full
  • no-walk 対象となるコミットログしか表示しない(–no-walkだけだと直近のログしか出ない)
  • tags 最後にタグが付けられたコミットログから表示する
  • pretty 詳細表示
  • decorate=full refも表示する。デフォルトはshortでrefまで表示しない

Git - git-log Documentation

stackoverflow.com

git clone emacs source code

公式には git clone https://git.savannah.gnu.org/git/emacs.git って書いてあるけど、 git clone git://git.sv.gnu.org/emacs.git ってやったほうが圧倒的に早い。

公式でもhttpよりgitのほうが早いって書いてある。というか、remote addしたのをfetchすると、httpのほうじゃ504 timeoutになるので無理なのでgitのほうを使ったほうが良い

emacs - Git Repositories [Savannah]

UsingGit