Skip to content

Commit cceaa20

Browse files
authored
Update README.md
1 parent 15f2ad2 commit cceaa20

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

README.md

+13-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Gitlog reference
33
<h3> #git log</h3>
44
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="Gitlog"><pre><code>
5-
[centos@master gitpr]$ git log
5+
[centos@master gitpr]$<body style="background-color:powderblue;"> git log </body>
66
commit 8bcf05ee70c9fd36d0f253a5625e03edb79268ec (HEAD -> feature.xyz, origin/feature.xyz)
77
Author: rajkumarrt <77945664+rajkumarrt@users.noreply.github.com>
88
Date: Wed Jul 14 18:47:53 2021 +0530
@@ -11,18 +11,18 @@ Date: Wed Jul 14 18:47:53 2021 +0530
1111
<h3> #Filetering</h3>
1212
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="Gitlog"><pre><code>
1313
<b> #Filetr by Date </b>
14-
[centos@master gitpr]$ git log --after="2021-01-07"
14+
[centos@master gitpr]$<body style="background-color:powderblue;"> git log --after="2021-01-07" </body>
1515
commit 8bcf05ee70c9fd36d0f253a5625e03edb79268ec (HEAD -> feature.xyz, origin/feature.xyz)
1616
Author: rajkumarrt <77945664+rajkumarrt@users.noreply.github.com>
1717
Date: Wed Jul 14 18:47:53 2021 +0530
1818

19-
git log --after="2021-01-07" --before="2021-05-07"
19+
<body style="background-color:powderblue;">git log --after="2021-01-07" --before="2021-05-07"
2020
git log --after="today"
2121
git log --after="yesterday"
22-
git log --after="1 week ago"
22+
git log --after="1 week ago" </body>
2323

2424
<b> #Filter by File </b>
25-
[centos@master gitpr]$ git log index.html
25+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log index.html </body>
2626
commit 8bcf05ee70c9fd36d0f253a5625e03edb79268ec (HEAD -> feature.xyz, origin/feature.xyz)
2727
Author: rajkumarrt <77945664+rajkumarrt@users.noreply.github.com>
2828
Date: Wed Jul 14 18:47:53 2021 +0530
@@ -39,11 +39,10 @@ Date: Wed Jul 14 09:00:47 2021 -0400
3939
Index.html added
4040

4141
<b> #Filter by Content </b>
42-
[centos@master gitpr]$ git log -S"This is "
42+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log -S"This is " </body>
4343
commit 35e6087965c508b137e986874ab501b20506c4d9
4444
Author: rajkumarrt <rajkumarrt@gamil.com>
4545
Date: Wed Jul 14 09:24:24 2021 -0400
46-
4746
test file
4847

4948
commit 5d49fb242b5dffe21d685588ed369348ba68b484
@@ -54,12 +53,12 @@ Date: Wed Jul 14 09:00:47 2021 -0400
5453

5554
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="Gitlog"><pre><code>
5655
<b>#Merge commits </b>
57-
[centos@master gitpr]$ git log master..feature
56+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log master..feature </body>
5857
</code></pre></div>
5958

6059
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="Gitlog"><pre><code>
6160
<b>#Format output </b>
62-
[centos@master gitpr]$ git log --pretty=format:"%Cred%an - %Cgreen%ar%n %Cblue %h -%Cgreen %s %n"
61+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log --pretty=format:"%Cred%an - %Cgreen%ar%n %Cblue %h -%Cgreen %s %n" </body>
6362
rajkumarrt - 6 days ago
6463
8bcf05e - update
6564

@@ -81,7 +80,7 @@ rajkumarrt - 6 days ago
8180
rajkumarrt - 8 days ago
8281
101ee3f - Added the package
8382

84-
[centos@master gitpr]$ git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
83+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit </body>
8584
* 8bcf05e - (HEAD -> feature.xyz, origin/feature.xyz) update (5 days ago) <rajkumarrt>
8685
* 35e6087 - test file (5 days ago) <rajkumarrt>
8786
* 5d49fb2 - Index.html added (5 days ago) <rajkumarrt>
@@ -97,7 +96,7 @@ rajkumarrt - 8 days ago
9796
* 461b64c - index.js updated (8 days ago) <rajkumarrt>
9897
* 1df215d - First update (8 days ago) <rajkumarrt>
9998

100-
[centos@master gitpr]$ git log --decorate
99+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log --decorate </body>
101100
commit 8bcf05ee70c9fd36d0f253a5625e03edb79268ec (HEAD -> feature.xyz, origin/feature.xyz)
102101
Author: rajkumarrt <77945664+rajkumarrt@users.noreply.github.com>
103102
Date: Wed Jul 14 18:47:53 2021 +0530
@@ -113,7 +112,7 @@ Author: rajkumarrt <rajkumarrt@gamil.com>
113112
Date: Wed Jul 14 09:00:47 2021 -0400
114113
Index.html added
115114

116-
[centos@master gitpr]$ git shortlog
115+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git shortlog </body>
117116
rajkumarrt (12):
118117
First update
119118
index.js updated
@@ -128,7 +127,7 @@ rajkumarrt (12):
128127
test file
129128
update
130129

131-
[centos@master gitpr]$ git reflog
130+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git reflog </body>
132131
8bcf05e (HEAD -> feature.xyz, origin/feature.xyz) HEAD@{0}: rebase (continue) (finish): returning to refs/heads/feature.xyz
133132
8bcf05e (HEAD -> feature.xyz, origin/feature.xyz) HEAD@{1}: rebase (continue): update
134133
35e6087 HEAD@{2}: rebase (continue): test file
@@ -156,7 +155,7 @@ f8795a2 HEAD@{19}: pull: Fast-forward
156155
1df215d HEAD@{25}: commit (initial): First update
157156

158157

159-
[centos@master gitpr]$ git log --oneline
158+
[centos@master gitpr]$ <body style="background-color:powderblue;"> git log --oneline </body>
160159
8bcf05e (HEAD -> feature.xyz, origin/feature.xyz) update
161160
35e6087 test file
162161
5d49fb2 Index.html added

0 commit comments

Comments
 (0)