![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Показывает историю изменений нужного файла в GIT-репозитории.
% cat ~/bin/git-history #!/bin/sh if test $# -lt 1; then echo Usage: `basename $0` filename exit 0 fi exec git log --patch --follow -- $*
no subject
Date: 2017-11-07 03:22 (UTC)no subject
Date: 2017-11-07 03:47 (UTC)no subject
Date: 2017-11-10 07:56 (UTC)cbr2 = "!f(){ expr $( ( git symbolic-ref -q HEAD || cat $(git dir)/rebase-merge/head-name ) 2>/dev/null ) : 'refs/heads/\\(.*\\)'; }; f"
(это усложнённый вариант выдачи имени текущей ветки)
no subject
Date: 2017-11-07 05:35 (UTC)no subject
Date: 2017-11-07 06:46 (UTC)no subject
Date: 2017-11-07 07:57 (UTC)no subject
Date: 2017-11-09 07:25 (UTC)Все эти IDE и RDP баловство одно.