エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
How to reference the initial commit?
I've got a script that needs to reference the initial commit in a repository. git has the special... I've got a script that needs to reference the initial commit in a repository. git has the special reference HEAD, but doesn't have the corresponding TAIL. I cannot find anything in git help rev-parse that would seem to help me. Here's what I'd like to do: git show TAIL Here's one option I have: git show `git log --reverse | if read a commit ; then echo $commit ; fi` That's pretty hacky and depends



2019/01/24 リンク