Skip to content

Commit d955467

Browse files
committed
docs: Adds section on git diff
Closes #8
1 parent 5eefcf8 commit d955467

7 files changed

Lines changed: 56 additions & 50 deletions

File tree

Git Tutorial.aux

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,19 @@
5252
\@writefile{toc}{\contentsline {subsection}{\numberline {6.5}Merging Changes from a Feature Branch to the Main Branch}{15}{subsection.6.5}\protected@file@percent }
5353
\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.5.1}Merge Conflicts}{15}{subsubsection.6.5.1}\protected@file@percent }
5454
\@writefile{toc}{\contentsline {subsection}{\numberline {6.6}Git Log}{15}{subsection.6.6}\protected@file@percent }
55-
\@writefile{toc}{\contentsline {subsection}{\numberline {6.7}Creating Tags or Releases}{16}{subsection.6.7}\protected@file@percent }
56-
\@writefile{toc}{\contentsline {section}{\numberline {7}Intermediate Usage of Git}{16}{section.7}\protected@file@percent }
55+
\@writefile{toc}{\contentsline {subsection}{\numberline {6.7}Git Diff}{16}{subsection.6.7}\protected@file@percent }
56+
\@writefile{toc}{\contentsline {subsection}{\numberline {6.8}Creating Tags or Releases}{16}{subsection.6.8}\protected@file@percent }
57+
\@writefile{toc}{\contentsline {section}{\numberline {7}Intermediate Usage of Git}{17}{section.7}\protected@file@percent }
5758
\@writefile{toc}{\contentsline {subsection}{\numberline {7.1}Amending Commits}{17}{subsection.7.1}\protected@file@percent }
5859
\@writefile{toc}{\contentsline {subsection}{\numberline {7.2}Undoing Commits}{17}{subsection.7.2}\protected@file@percent }
5960
\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.2.1}Resetting Commits}{17}{subsubsection.7.2.1}\protected@file@percent }
6061
\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.2.2}Reverting Commits}{17}{subsubsection.7.2.2}\protected@file@percent }
61-
\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.2.3}Relative Referencing from HEAD}{17}{subsubsection.7.2.3}\protected@file@percent }
62+
\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.2.3}Relative Referencing from HEAD}{18}{subsubsection.7.2.3}\protected@file@percent }
6263
\@writefile{toc}{\contentsline {subsection}{\numberline {7.3}Combining Commits}{18}{subsection.7.3}\protected@file@percent }
6364
\@writefile{toc}{\contentsline {subsection}{\numberline {7.4}Bisect}{19}{subsection.7.4}\protected@file@percent }
6465
\@writefile{toc}{\contentsline {section}{\numberline {8}Advanced Usage of Git}{19}{section.8}\protected@file@percent }
6566
\@writefile{toc}{\contentsline {subsection}{\numberline {8.1}Rebasing}{19}{subsection.8.1}\protected@file@percent }
66-
\@writefile{toc}{\contentsline {subsection}{\numberline {8.2}Cherry-picking}{19}{subsection.8.2}\protected@file@percent }
67+
\@writefile{toc}{\contentsline {subsection}{\numberline {8.2}Cherry-picking}{20}{subsection.8.2}\protected@file@percent }
6768
\@writefile{toc}{\contentsline {subsection}{\numberline {8.3}Stashing Incomplete Changes}{20}{subsection.8.3}\protected@file@percent }
6869
\@writefile{toc}{\contentsline {subsection}{\numberline {8.4}Submodules}{20}{subsection.8.4}\protected@file@percent }
6970
\@writefile{toc}{\contentsline {section}{\numberline {9}Using GitHub}{20}{section.9}\protected@file@percent }

Git Tutorial.log

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8) (preloaded format=pdflatex 2021.10.5) 26 OCT 2021 10:42
1+
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8) (preloaded format=pdflatex 2021.10.5) 26 OCT 2021 10:50
22
entering extended mode
33
**"./Git Tutorial.tex"
44
(Git Tutorial.tex
@@ -422,7 +422,7 @@ LaTeX Font Info: External font `cmex10' loaded for size
422422

423423
[2]
424424
(Images/repositories.pdf_tex
425-
<Images//repositories.pdf, id=286, page=1, 673.41853pt x 670.94444pt>
425+
<Images//repositories.pdf, id=291, page=1, 673.41853pt x 670.94444pt>
426426
File: Images//repositories.pdf Graphic file (type pdf)
427427
<use Images//repositories.pdf, page 1>
428428
Package pdftex.def Info: Images//repositories.pdf , page1 used on input line 56
@@ -434,20 +434,20 @@ LaTeX Font Info: External font `cmex10' loaded for size
434434
(Font) <20.74> on input line 57.
435435
LaTeX Font Info: External font `cmex10' loaded for size
436436
(Font) <17.28> on input line 57.
437-
<Images//repositories.pdf, id=287, page=2, 673.41853pt x 670.94444pt>
437+
<Images//repositories.pdf, id=292, page=2, 673.41853pt x 670.94444pt>
438438
File: Images//repositories.pdf Graphic file (type pdf)
439439
<use Images//repositories.pdf, page 2>
440440
Package pdftex.def Info: Images//repositories.pdf , page2 used on input line 59
441441
.
442442
(pdftex.def) Requested size: 469.75499pt x 468.03009pt.
443443
) (Images/commit-history.pdf_tex
444-
<Images//commit-history.pdf, id=288, page=1, 887.13869pt x 304.73422pt>
444+
<Images//commit-history.pdf, id=293, page=1, 887.13869pt x 304.73422pt>
445445
File: Images//commit-history.pdf Graphic file (type pdf)
446446
<use Images//commit-history.pdf, page 1>
447447
Package pdftex.def Info: Images//commit-history.pdf , page1 used on input line
448448
56.
449449
(pdftex.def) Requested size: 469.75499pt x 161.35957pt.
450-
<Images//commit-history.pdf, id=289, page=2, 887.13869pt x 304.73422pt>
450+
<Images//commit-history.pdf, id=294, page=2, 887.13869pt x 304.73422pt>
451451
File: Images//commit-history.pdf Graphic file (type pdf)
452452
<use Images//commit-history.pdf, page 2>
453453
Package pdftex.def Info: Images//commit-history.pdf , page2 used on input line
@@ -458,7 +458,7 @@ Package pdftex.def Info: Images//commit-history.pdf , page2 used on input line
458458
pdfTeX warning: pdflatex (file ./Images//repositories.pdf): PDF inclusion: mult
459459
iple pdfs with page group included in a single page
460460
>] (Images/remote-repos.pdf_tex
461-
<Images//remote-repos.pdf, id=296, page=1, 649.18867pt x 894.94525pt>
461+
<Images//remote-repos.pdf, id=301, page=1, 649.18867pt x 894.94525pt>
462462
File: Images//remote-repos.pdf Graphic file (type pdf)
463463
<use Images//remote-repos.pdf, page 1>
464464
Package pdftex.def Info: Images//remote-repos.pdf , page1 used on input line 56
@@ -473,28 +473,28 @@ ltiple pdfs with page group included in a single page
473473
pdfTeX warning: pdflatex (file ./Images//remote-repos.pdf): PDF inclusion: mult
474474
iple pdfs with page group included in a single page
475475
>] [5] [6] [7] [8]
476-
<Images//GPG Key Listing.png, id=397, 507.0945pt x 151.16475pt>
476+
<Images//GPG Key Listing.png, id=402, 507.0945pt x 151.16475pt>
477477
File: Images//GPG Key Listing.png Graphic file (type png)
478478
<use Images//GPG Key Listing.png>
479479
Package pdftex.def Info: Images//GPG Key Listing.png used on input line 221.
480480
(pdftex.def) Requested size: 253.54662pt x 75.58218pt.
481481
[9] [10 <./Images//GPG Key Listing.png>] [11] [12] [13]
482482
[14] [15] [16] [17]
483-
<Images//Git Tree.png, id=482, 196.93575pt x 274.02374pt>
483+
<Images//Git Tree.png, id=488, 196.93575pt x 274.02374pt>
484484
File: Images//Git Tree.png Graphic file (type png)
485485
<use Images//Git Tree.png>
486-
Package pdftex.def Info: Images//Git Tree.png used on input line 405.
486+
Package pdftex.def Info: Images//Git Tree.png used on input line 408.
487487
(pdftex.def) Requested size: 177.24051pt x 246.61908pt.
488488
[18 <./Images//Git Tree.png>] [19] [20] [21] [22]
489489
(Git Tutorial.aux)
490490
Package rerunfilecheck Info: File `"Git Tutorial".out' has not changed.
491-
(rerunfilecheck) Checksum: A32BCA3CF9E3D5652755E28C3EF5B071;9085.
491+
(rerunfilecheck) Checksum: 62B25C5F69E67A3760D2D4AD998EE4E7;9186.
492492
)
493493
Here is how much of TeX's memory you used:
494-
10368 strings out of 478868
495-
157040 string characters out of 2848809
494+
10370 strings out of 478868
495+
157070 string characters out of 2848809
496496
483002 words of memory out of 3000000
497-
27957 multiletter control sequences out of 15000+600000
497+
27958 multiletter control sequences out of 15000+600000
498498
411779 words of font info for 54 fonts, out of 8000000 for 9000
499499
1141 hyphenation exceptions out of 8191
500500
62i,15n,75p,1859b,514s stack positions out of 5000i,500n,10000p,200000b,80000s
@@ -507,9 +507,9 @@ amsfonts/cm/cmbx12.pfb><C:/Users/nblch/AppData/Local/Programs/MiKTeX/fonts/type
507507
ms/MiKTeX/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Users/nblch/AppData/Loca
508508
l/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr17.pfb><C:/Users/nblch/AppD
509509
ata/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmsy10.pfb>
510-
Output written on "Git Tutorial.pdf" (22 pages, 293584 bytes).
510+
Output written on "Git Tutorial.pdf" (22 pages, 295233 bytes).
511511
PDF statistics:
512-
580 PDF objects out of 1000 (max. 8388607)
513-
164 named destinations out of 1000 (max. 500000)
514-
468 words of extra memory for PDF output out of 10000 (max. 10000000)
512+
586 PDF objects out of 1000 (max. 8388607)
513+
165 named destinations out of 1000 (max. 500000)
514+
476 words of extra memory for PDF output out of 10000 (max. 10000000)
515515

Git Tutorial.out

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,23 @@
3333
\BOOKMARK [2][-]{subsection.6.5}{\376\377\000M\000e\000r\000g\000i\000n\000g\000\040\000C\000h\000a\000n\000g\000e\000s\000\040\000f\000r\000o\000m\000\040\000a\000\040\000F\000e\000a\000t\000u\000r\000e\000\040\000B\000r\000a\000n\000c\000h\000\040\000t\000o\000\040\000t\000h\000e\000\040\000M\000a\000i\000n\000\040\000B\000r\000a\000n\000c\000h}{section.6}% 33
3434
\BOOKMARK [3][-]{subsubsection.6.5.1}{\376\377\000M\000e\000r\000g\000e\000\040\000C\000o\000n\000f\000l\000i\000c\000t\000s}{subsection.6.5}% 34
3535
\BOOKMARK [2][-]{subsection.6.6}{\376\377\000G\000i\000t\000\040\000L\000o\000g}{section.6}% 35
36-
\BOOKMARK [2][-]{subsection.6.7}{\376\377\000C\000r\000e\000a\000t\000i\000n\000g\000\040\000T\000a\000g\000s\000\040\000o\000r\000\040\000R\000e\000l\000e\000a\000s\000e\000s}{section.6}% 36
37-
\BOOKMARK [1][-]{section.7}{\376\377\000I\000n\000t\000e\000r\000m\000e\000d\000i\000a\000t\000e\000\040\000U\000s\000a\000g\000e\000\040\000o\000f\000\040\000G\000i\000t}{}% 37
38-
\BOOKMARK [2][-]{subsection.7.1}{\376\377\000A\000m\000e\000n\000d\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{section.7}% 38
39-
\BOOKMARK [2][-]{subsection.7.2}{\376\377\000U\000n\000d\000o\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{section.7}% 39
40-
\BOOKMARK [3][-]{subsubsection.7.2.1}{\376\377\000R\000e\000s\000e\000t\000t\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{subsection.7.2}% 40
41-
\BOOKMARK [3][-]{subsubsection.7.2.2}{\376\377\000R\000e\000v\000e\000r\000t\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{subsection.7.2}% 41
42-
\BOOKMARK [3][-]{subsubsection.7.2.3}{\376\377\000R\000e\000l\000a\000t\000i\000v\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000i\000n\000g\000\040\000f\000r\000o\000m\000\040\000H\000E\000A\000D}{subsection.7.2}% 42
43-
\BOOKMARK [2][-]{subsection.7.3}{\376\377\000C\000o\000m\000b\000i\000n\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{section.7}% 43
44-
\BOOKMARK [2][-]{subsection.7.4}{\376\377\000B\000i\000s\000e\000c\000t}{section.7}% 44
45-
\BOOKMARK [1][-]{section.8}{\376\377\000A\000d\000v\000a\000n\000c\000e\000d\000\040\000U\000s\000a\000g\000e\000\040\000o\000f\000\040\000G\000i\000t}{}% 45
46-
\BOOKMARK [2][-]{subsection.8.1}{\376\377\000R\000e\000b\000a\000s\000i\000n\000g}{section.8}% 46
47-
\BOOKMARK [2][-]{subsection.8.2}{\376\377\000C\000h\000e\000r\000r\000y\000-\000p\000i\000c\000k\000i\000n\000g}{section.8}% 47
48-
\BOOKMARK [2][-]{subsection.8.3}{\376\377\000S\000t\000a\000s\000h\000i\000n\000g\000\040\000I\000n\000c\000o\000m\000p\000l\000e\000t\000e\000\040\000C\000h\000a\000n\000g\000e\000s}{section.8}% 48
49-
\BOOKMARK [2][-]{subsection.8.4}{\376\377\000S\000u\000b\000m\000o\000d\000u\000l\000e\000s}{section.8}% 49
50-
\BOOKMARK [1][-]{section.9}{\376\377\000U\000s\000i\000n\000g\000\040\000G\000i\000t\000H\000u\000b}{}% 50
51-
\BOOKMARK [2][-]{subsection.9.1}{\376\377\000R\000e\000a\000d\000M\000e}{section.9}% 51
52-
\BOOKMARK [2][-]{subsection.9.2}{\376\377\000C\000r\000e\000a\000t\000i\000n\000g\000\040\000R\000e\000l\000e\000a\000s\000e\000s}{section.9}% 52
53-
\BOOKMARK [2][-]{subsection.9.3}{\376\377\000C\000r\000e\000a\000t\000i\000n\000g\000\040\000I\000s\000s\000u\000e\000s}{section.9}% 53
54-
\BOOKMARK [1][-]{section.10}{\376\377\000C\000o\000n\000c\000l\000u\000s\000i\000o\000n}{}% 54
36+
\BOOKMARK [2][-]{subsection.6.7}{\376\377\000G\000i\000t\000\040\000D\000i\000f\000f}{section.6}% 36
37+
\BOOKMARK [2][-]{subsection.6.8}{\376\377\000C\000r\000e\000a\000t\000i\000n\000g\000\040\000T\000a\000g\000s\000\040\000o\000r\000\040\000R\000e\000l\000e\000a\000s\000e\000s}{section.6}% 37
38+
\BOOKMARK [1][-]{section.7}{\376\377\000I\000n\000t\000e\000r\000m\000e\000d\000i\000a\000t\000e\000\040\000U\000s\000a\000g\000e\000\040\000o\000f\000\040\000G\000i\000t}{}% 38
39+
\BOOKMARK [2][-]{subsection.7.1}{\376\377\000A\000m\000e\000n\000d\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{section.7}% 39
40+
\BOOKMARK [2][-]{subsection.7.2}{\376\377\000U\000n\000d\000o\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{section.7}% 40
41+
\BOOKMARK [3][-]{subsubsection.7.2.1}{\376\377\000R\000e\000s\000e\000t\000t\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{subsection.7.2}% 41
42+
\BOOKMARK [3][-]{subsubsection.7.2.2}{\376\377\000R\000e\000v\000e\000r\000t\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{subsection.7.2}% 42
43+
\BOOKMARK [3][-]{subsubsection.7.2.3}{\376\377\000R\000e\000l\000a\000t\000i\000v\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000i\000n\000g\000\040\000f\000r\000o\000m\000\040\000H\000E\000A\000D}{subsection.7.2}% 43
44+
\BOOKMARK [2][-]{subsection.7.3}{\376\377\000C\000o\000m\000b\000i\000n\000i\000n\000g\000\040\000C\000o\000m\000m\000i\000t\000s}{section.7}% 44
45+
\BOOKMARK [2][-]{subsection.7.4}{\376\377\000B\000i\000s\000e\000c\000t}{section.7}% 45
46+
\BOOKMARK [1][-]{section.8}{\376\377\000A\000d\000v\000a\000n\000c\000e\000d\000\040\000U\000s\000a\000g\000e\000\040\000o\000f\000\040\000G\000i\000t}{}% 46
47+
\BOOKMARK [2][-]{subsection.8.1}{\376\377\000R\000e\000b\000a\000s\000i\000n\000g}{section.8}% 47
48+
\BOOKMARK [2][-]{subsection.8.2}{\376\377\000C\000h\000e\000r\000r\000y\000-\000p\000i\000c\000k\000i\000n\000g}{section.8}% 48
49+
\BOOKMARK [2][-]{subsection.8.3}{\376\377\000S\000t\000a\000s\000h\000i\000n\000g\000\040\000I\000n\000c\000o\000m\000p\000l\000e\000t\000e\000\040\000C\000h\000a\000n\000g\000e\000s}{section.8}% 49
50+
\BOOKMARK [2][-]{subsection.8.4}{\376\377\000S\000u\000b\000m\000o\000d\000u\000l\000e\000s}{section.8}% 50
51+
\BOOKMARK [1][-]{section.9}{\376\377\000U\000s\000i\000n\000g\000\040\000G\000i\000t\000H\000u\000b}{}% 51
52+
\BOOKMARK [2][-]{subsection.9.1}{\376\377\000R\000e\000a\000d\000M\000e}{section.9}% 52
53+
\BOOKMARK [2][-]{subsection.9.2}{\376\377\000C\000r\000e\000a\000t\000i\000n\000g\000\040\000R\000e\000l\000e\000a\000s\000e\000s}{section.9}% 53
54+
\BOOKMARK [2][-]{subsection.9.3}{\376\377\000C\000r\000e\000a\000t\000i\000n\000g\000\040\000I\000s\000s\000u\000e\000s}{section.9}% 54
55+
\BOOKMARK [1][-]{section.10}{\376\377\000C\000o\000n\000c\000l\000u\000s\000i\000o\000n}{}% 55

Git Tutorial.pdf

1.61 KB
Binary file not shown.

Git Tutorial.synctex.gz

1.68 KB
Binary file not shown.

Git Tutorial.tex

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,12 +360,15 @@
360360
\subsubsection{Merge Conflicts}
361361
Occasionally when you try to merge or pull changes, you will run into what is called a merge conflict. This usually occurs because you and another person with access to your repository have changed the same files at the same time. This is one of the main reasons we use branches to create our changes. It gives you a little sandbox to play in and make changes before incorporating them with changes others have made. Regardless you are likely to run into merge conflicts more often than not as the team grows. What occurs when you get a merge conflict is that git will add a copy of the conflicting code into your file as a section right below the conflicting code and ask you to pick between the conflicting changes. You can recognize this as it will start with $<<<<<<<$ HEAD, end with the branch you are trying the merge in, and will be separated by equal signs. HEAD is just a signal saying the commit you are located at or the "head" of the commit history has this code and the branch has the other set of code. All you need to do is delete one of the sets of code you don't want and try to merge again. This will auto generate a commit message that says you resolved a merge conflict. I highly suggest you change this message to reflect what happened and what changed.
362362

363-
\subsection{Git Log}
364-
To visualize your commit history, you will enter the command \colorbox{light-gray}{\textbf{git log}}. Alone, this command will produce all of the commits you have made that you can scroll through with the arrow keys. You can leave the log by hitting the q key. Without adding flags to the command however, the log is not very informative which is why I have created the long alias shown above. A simple way you can also make the output informative is by adding the \colorbox{light-gray}{\textbf{- -oneline}}, \colorbox{light-gray}{\textbf{- -pretty}}, and \colorbox{light-gray}{\textbf{- -graph}} flags to make the output nicer and show a graph of the changes over time.
365-
366-
When looking at the commit history, you may notice that all of the commits have this long list of numbers and letters. This is the unique identifying SHA value of the commit. There is no other commit on earth that will have the same SHA value as yours. As a result, you can actually go back to previous commits by checking out commit by this number. You will usually only need the first five or six places of this number to check it out. You just need enough for it to be unique in your repository. In fact you may notice that on GitHub, your commits are only shown with this shortened form of the SHA value when looking at the commit history.
367-
368-
Remembering these SHA values is difficult, which is why we can also tag specific commits as significant points to go back to.
363+
\subsection{Git Log}
364+
To visualize your commit history, you will enter the command \colorbox{light-gray}{\textbf{git log}}. Alone, this command will produce all of the commits you have made that you can scroll through with the arrow keys. You can leave the log by hitting the q key. Without adding flags to the command however, the log is not very informative which is why I have created the long alias shown above. A simple way you can also make the output informative is by adding the \colorbox{light-gray}{\textbf{- -oneline}}, \colorbox{light-gray}{\textbf{- -pretty}}, and \colorbox{light-gray}{\textbf{- -graph}} flags to make the output nicer and show a graph of the changes over time.
365+
366+
When looking at the commit history, you may notice that all of the commits have this long list of numbers and letters. This is the unique identifying SHA value of the commit. There is no other commit on earth that will have the same SHA value as yours. As a result, you can actually go back to previous commits by checking out commit by this number. You will usually only need the first five or six places of this number to check it out. You just need enough for it to be unique in your repository. In fact you may notice that on GitHub, your commits are only shown with this shortened form of the SHA value when looking at the commit history.
367+
368+
Remembering these SHA values is difficult, which is why we can also tag specific commits as significant points to go back to.
369+
370+
\subsection{Git Diff}
371+
Often, you will want to see what changes have been made to a file, branch, or repository as a whole. Usually, you will use \colorbox{light-gray}{\textbf{git diff}} on its own to see what the uncommited changes change in the code. You can also use the diff command with two branches to compare those changes using \colorbox{light-gray}{\textbf{git diff branch1..branch2}}. Refer to this \href{https://www.atlassian.com/git/tutorials/saving-changes/git-diff#:~:text=git%20diff%20is%20a%20multi,%2C%20branches%2C%20files%20and%20more.&text=The%20git%20diff%20command%20is,state%20of%20a%20Git%20repo.}{guide} for more information on git diff.
369372

370373
\subsection{Creating Tags or Releases}
371374
You can tag the commit you are currently on by entering \colorbox{light-gray}{\textbf{git tag}} followed by the tag name. This tag will then also show up when entering \colorbox{light-gray}{\textbf{git log}}.

0 commit comments

Comments
 (0)