We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99bdfcd commit 81516b8Copy full SHA for 81516b8
tools/git/scripts/filename_changes
@@ -0,0 +1,26 @@
1
+#!/usr/bin/env bash
2
+#
3
+# Prints filename changes.
4
5
+# <weekday> <month> <day> <time> <year> <first_name> <last_name>
6
+# R<%> <original_filename> <new_filename>
7
+
8
+# * `git log --reverse`
9
+# - Show commit logs in reverse order.
10
+# * `--find-renames`
11
+# - Find file renames.
12
+# * `--name-status`
13
+# - Show only names.
14
+# * `--diff-filter R`
15
+# - Only select files which are renamed (R).
16
+# * `--format=format:""`
17
+# - Format the log.
18
+# * `--date=format:""`
19
+# - Format the date.
20
+git log \
21
+ --reverse \
22
+ --find-renames \
23
+ --name-status \
24
+ --diff-filter R \
25
+ --format=format:"%ad %aN" \
26
+ --date=format:"%a %b %d %T %Y"
0 commit comments