मैं डिफ़ॉल्ट से भिन्न प्रारूप का उपयोग करने की सलाह दूंगा। मेरी सामान्य पसंद ग्राफ के साथ सारांश है, लेकिन अकेले एक पंक्ति सारांश आमतौर पर चाल करता है।
विकल्प 1: एक पंक्ति सारांश w / ग्राफ
git log --pretty=format:'%h : %s' --graph > log.log
का परिणाम:
* 2d3acf9 : ignore errors from SIGCHLD on trap
* 5e3ee11 : Merge branch 'master' of git://github.com/dustin/grit
|\
| * 420eac9 : Added a method for getting the current branch.
* | 30e367c : timeout code and tests
* | 5a09431 : add timeout protection to grit
* | e1193f8 : support for heads with slashes in them
|/
* d6016bc : require time for xmlschema
विकल्प 2: एक पंक्ति सारांश w / o ग्राफ़
git log --pretty=format:'%h was %an, %ar, message: %s' > log.log
का परिणाम:
a6b444f was Scott Chacon, 5 days ago, message: dammit, this is the second time this has re
49d77f7 was Scott Chacon, 8 days ago, message: modified index to create refs/heads if it i
9764edd was Hans Engel, 11 days ago, message: Add diff-lcs dependency
e1ba1e3 was Hans Engel, 11 days ago, message: Add dependency for Open4
0f87b4d was Scott Chacon, 12 days ago, message: merged recent changes
आप यहां डॉक्स में अधिक प्रारूपण विकल्प पा सकते हैं