Git

2021年7月28日 星期三

How to get the last commit ID of a remote repo using curl-like command?

 git log --format="%H" -n 1


from: https://stackoverflow.com/questions/19176359/how-to-get-the-last-commit-id-of-a-remote-repo-using-curl-like-command

張貼者: Ryoko 於 清晨6:32
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

Ryoko
檢視我的完整簡介

網誌存檔

  • ►  2023 (1)
    • ►  1月 (1)
  • ►  2022 (4)
    • ►  11月 (1)
    • ►  4月 (3)
  • ▼  2021 (13)
    • ►  11月 (1)
    • ►  10月 (2)
    • ►  9月 (1)
    • ▼  7月 (5)
      • Implicitly loading submodules in Jenkins pipeline ...
      • Get the current commit id of specified submodule
      • How to get the last commit ID of a remote repo usi...
      • using “git submodule foreach” can you skip a list ...
      • Check if git submodule has been updated on remote
    • ►  5月 (1)
    • ►  3月 (1)
    • ►  2月 (2)
  • ►  2020 (9)
    • ►  11月 (1)
    • ►  9月 (1)
    • ►  8月 (1)
    • ►  6月 (1)
    • ►  5月 (1)
    • ►  4月 (3)
    • ►  1月 (1)
  • ►  2019 (5)
    • ►  11月 (1)
    • ►  10月 (1)
    • ►  9月 (3)
  • ►  2015 (5)
    • ►  7月 (5)
簡單主題. 技術提供:Blogger.