--- lang: ja-jp breaks: true --- # まだリモートにプッシュしていないコミットのログを取得する 2023-11-22 ## `git --version` ```shell $ git --version git version 2.43.0.windows.1 ``` :::warning 古いバージョンのgit(※2.3x 位?)で結果が返ってこない事があった。 gitを最新版にアップデートしたら正常に取得出来た。 ::: ## `git log origin/remotebrunch..localbranch` ```shell= >git log origin/main_2023-11-22_0830_20..main_2023-11-22_0830_20 commit 51f4afa87130fa432683e23c0f3cb811bd950235 (HEAD -> main_2023-11-22_0830_20) Author: xxxxxxxx <83535794+xxxxxxxx@users.noreply.github.com> Date: Wed Nov 22 08:40:21 2023 +0900 launch.json 公式テンプレート通り、環境変数を使用するように変更。 commit cb38137e0d2ef45b5bddb4e178bd5febe6234406 Author: xxxxxxxx <83535794+xxxxxxxx@users.noreply.github.com> Date: Wed Nov 22 08:38:32 2023 +0900 launch.json 公式テンプレート通り、環境変数を使用するように変更。 ``` ###### tags: `git` `commit` `push`