gitk
作者:互联网
gitk
gitk [<options>] [<revision range>] [--] [<path>…]
查看单个文件的变更历史
gitk -- CppPrimer/Content/Ch12_DynamicMemory/Ch12_shared_ptr_00.cpp &
Other examples
# Show the changes since version v2.6.12 that changed any file
# in the include/scsi or drivers/scsi subdirectories.
gitk v2.6.12.. include/scsi drivers/scsi
# Show the changes during the last two weeks to the file gitk.
# The "--" is necessary to avoid confusion with the branch named gitk.
gitk --since="2 weeks ago" -- gitk
# Show at most 100 changes made to the file Makefile.
# Instead of only looking for changes in the current branch look in all branches.
gitk --max-count=100 --all -- Makefile
References
标签:Show,--,gitk,file,scsi,changes 来源: https://www.cnblogs.com/ltimaginea/p/15141796.html