Инструменты пользователя

Инструменты сайта


git:log

Это старая версия документа!


Log

git log - Все логи  //Справка - git help log

выход из программы «q»

форматированный вывод

git log --pretty=format:"%h - %an, %ar : %s" 
 
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (master)
$ git log --pretty=format:"%h - %an, %ar : %s"
d0d7e64 - werwolf1000, 27 minutes ago : merger
4e977b0 - werwolf1000, 53 minutes ago : commit branch2
4d4b2b8 - werwolf1000, 63 minutes ago : branch master commit
daa7ef2 - werwolf1000, 2 days ago : other user
04f4d7d - werwolf1000, 2 days ago : github first commit
0d29073 - werwolf1000, 3 days ago : second commit
2e14cbd - werwolf1000, 3 days ago : my first add

Последние два коммита

git log -p -2 
 
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (master)
$ git log -p -2
commit d0d7e64013c5154dca47ef6b26806da754c81821 (HEAD -> master)
Merge: 4d4b2b8 4e977b0
Author: werwolf1000 <werwolf100@yandex.ru>
Date:   Sat Jul 21 13:51:21 2018 +0300
 
    merger
 
commit 4e977b05cb431d26fa7439d7631b7118308facbe (branch2)
Author: werwolf1000 <werwolf100@yandex.ru>
Date:   Sat Jul 21 13:25:13 2018 +0300
 
    commit branch2
 
diff --git a/file.html b/file.html
index f6b3854..edd0b6a 100644
--- a/file.html
+++ b/file.html
@@ -1,4 +1,4 @@
-<h1>Посмотреть архивы нельзяываываыва</h1>
+<h1>branch 2</h1>
 <p>lorem dasdas</p>
 <p>lorem dasdas</p>
 <p>lorem dasdas</p>
git/log.1573423494.txt.gz · Последние изменения: 2023/01/12 12:16 (внешнее изменение)