In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "Git how to view the history of all branches", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Git how to view the history of all branches" bar!
Git log
To view the history of commit, you can also add-- oneline, to view it in a concise way
$git log-onelineeddccf5 (HEAD-> master) delete readme70afaaf init readmeb5b7d12 update index501fdac js46995cb (test) add style.css3dccbfc add index
View the history of all branches
Git log-allcommit fe52636baa64e10e5795c26dcf0434aca48dcead (HEAD-> dev) Author: baxiang Date: Wed Dec 12 00:39:25 2018 + 0800 update readmecommit b5b7d12749d468627bf0afd413ba5c2dfa16beaf (master) Author: baxiang Date: Wed Dec 12 00:26:53 2018 + 0800 update index
-n plus numbers only view the last 2 submissions
$git log-n2commit eddccf59f9308c2b9fdd4409f5d167749622c5ee (HEAD-> master) Author: baxiang Date: Fri Dec 21 19:17:57 2018 + 0800 delete readmecommit 70afaaf5cfcf5f11c768a135043f345f4b464606Author: baxiang Date: Fri Dec 21 13:51:18 2018 + 0800 init readme Thank you for reading. This is the content of "how Git views the History of all branches". After the study of this article, I believe you have a deeper understanding of how Git views the historical records of all branches. The specific use situation still needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.