Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 889aeb3

Browse files
roshni-blazyoracle
authored andcommitted
git merge log
1 parent 92dfd65 commit 889aeb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ git graphlinelog
321321
# Generating reports with git
322322
git shortlog -sne --after="28 Feb 2021" --before="01 Apr 2021" # short list of commits sorted by contributors during a given period
323323
git shortlog --after="28 Feb 2021" --before="01 Apr 2021" --merges # merge commits, replace shortlog by log for commit messages
324-
git log --format=%B -n 1 <commit-hash> # Show commit message
324+
git log --format=%B -n 1 <commit-hash> # show commit message
325+
git log --merges --first-parent master --pretty=format:"%h %C(blue)%<(15,trunc)%aN %C(white)%<(22)%ar%Creset %C(green)%s" # log of merge commits to master, with commit hash & author name
325326
```
326327

327328
[Atlassian Git Tutorials](https://www.atlassian.com/git/tutorials)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /