-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
64 lines (41 loc) · 2.13 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
`git-blamed-diff` combines `git-blame` and `git-diff`. It prints the diff of
working directory or of a commit, on a particular file, but annotates the diff
lines with commit information, including removed lines, telling from which
commit they were removed.
This is useful when making multiple modifications to a patch series to amend,
to know which lines should be squashed in which commit.
It simply works by performing `git-blame` on a commit (or current working dir),
its parent commit, and diffing the 2 blames.
----
`git-recpbranch` will cherry-pick commits from a source branch to current branch.
It will not take all commits though. It will only take those which have
the same commit message title line as the commits in current branch.
Those from current branch matching the source branch are removed before.
This is useful to replace old commits of one branch by newer, amended commits
(revised history) from another branch.
----
`git-amend-author` modifies the author name and email of the last commit.
It also modifies the committer name/email.
It doesn't reset the author timestamp though.
Usage: `git amend-author <NAME> <EMAIL>`
----
`git-commit-with-mtime` calls git-commit but sets the date to a file's mtime.
----
`git-cherry-pick-on-path` is like git-cherry-pick but it can restrict to only
some path.
Sample: `git cherry-pick-on-path 0123456 modules/only_one/`
----
`git-combine-remotes` creates a new git remote with all the URLs of other specified
remotes. This is useful to push to multiple URLs in one git-push call.
Usage: `git combine-remotes NEW_REMOTE REMOTE1 REMOTE2...`
----
`git-midnight` commits (or amends a commit) to fake the commit date and force it
to midnight today. This can be used to hide the real commit date for privacy.
----
`git-edit-index` spawn an editor to edit the staged content of a file, but leaves
the working directory file untouched at the end.
Usage: `git edit-index FILE`
----
`git-tag-from-changelog-md` reads CHANGELOG.md, extracts only what's relevant
to version TAG and creates tag TAG with extracted text as tag text.
Expects CHANGELOG.md in format from <https://keepachangelog.com/en/1.1.0/>.