首页 > 技术文章 > git 如何查看远程分支创建时间

yuminhu 2022-01-12 13:36 原文

基于master创建分支test_branch

1 $ git checkout -b test_branch master

切换到新分支

1 $ git checkout test_branch

查看到指定分支的历次更改记录,最下面一条的时间即是分支创建时间

1 $ git reflog show --date=iso test_branch

 

推荐阅读