Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
977f8fd
Link to Learn page on the homepage
jvns Sep 8, 2025
deabeec
Add Learn section to sidebar
jvns Sep 8, 2025
9fb25d3
Add Learn page
jvns Sep 8, 2025
bec4295
Remove /doc landing page
jvns Sep 8, 2025
6eac308
Use Font Awesome for homepage icons
jvns Sep 8, 2025
e399b8d
Link images on Learn page and fix dark mode
jvns Sep 9, 2025
c84a8c5
Fix dark mode in front nav
jvns Sep 9, 2025
08cd688
Update manual pages (manually forced rebuild)
Sep 9, 2025
bec1e45
Remove unused ref-manual CSS
jvns Sep 9, 2025
06e10d5
learn page: remove 'Read the book!'
jvns Sep 12, 2025
913f2bf
Remove duplicate cheat sheet entry from sidebar
jvns Sep 16, 2025
3b144b3
Move cheat sheet to 'learn' section
jvns Sep 16, 2025
0473cf0
book: update gr
Sep 29, 2025
c1fe55d
book: update es
Sep 29, 2025
efeac2f
book: update ja
Sep 29, 2025
428b55a
book: update mk
Sep 29, 2025
07299fa
book: update uk
Sep 29, 2025
e81bdc4
book: update ko
Sep 29, 2025
6355661
book: update pl
Sep 29, 2025
f99a19b
book: update sr
Sep 29, 2025
e4038fe
book: update sv
Sep 29, 2025
25fdcd2
book: update fa
Sep 29, 2025
c68aa40
book: update be
Sep 29, 2025
2078426
book: update nl
Sep 29, 2025
706aa1e
book: update tr
Sep 29, 2025
513b15e
book: update it
Sep 29, 2025
172373a
book: update id
Sep 29, 2025
17f6120
book: update ms
Sep 29, 2025
8e265ac
book: update az
Sep 29, 2025
8bd75e0
book: update bg
Sep 29, 2025
3fbdb1b
book: update en
Sep 29, 2025
a325dda
book: update de
Sep 29, 2025
9a3f8d6
book: update pt-pt
Sep 29, 2025
2e9ec71
book: update ru
Sep 29, 2025
a636738
book: update zh-tw
Sep 29, 2025
5f3787c
book: update cs
Sep 29, 2025
807c56c
book: update pt-br
Sep 29, 2025
c0ed53c
book: update sl
Sep 29, 2025
cbdd5b5
book: update fr
Sep 29, 2025
fb19233
book: update uz
Sep 29, 2025
f78016e
book: update zh
Sep 29, 2025
6f70619
book: update tl
Sep 29, 2025
fcebd64
Merge branch 'book-be' of bundle-be/be.bundle into gh-pages
Sep 29, 2025
113083a
Merge branch 'book-bg' of bundle-bg/bg.bundle into gh-pages
Sep 29, 2025
26c6d4b
Merge branch 'book-cs' of bundle-cs/cs.bundle into gh-pages
Sep 29, 2025
901adfa
Merge branch 'book-de' of bundle-de/de.bundle into gh-pages
Sep 29, 2025
768a5a7
Merge branch 'book-en' of bundle-en/en.bundle into gh-pages
Sep 29, 2025
ba6aa19
Merge branch 'book-es' of bundle-es/es.bundle into gh-pages
Sep 29, 2025
a8fc512
Merge branch 'book-fr' of bundle-fr/fr.bundle into gh-pages
Sep 29, 2025
d06d35e
Merge branch 'book-gr' of bundle-gr/gr.bundle into gh-pages
Sep 29, 2025
cd4627e
Merge branch 'book-id' of bundle-id/id.bundle into gh-pages
Sep 29, 2025
16c86a7
Merge branch 'book-it' of bundle-it/it.bundle into gh-pages
Sep 29, 2025
00859f1
Merge branch 'book-ja' of bundle-ja/ja.bundle into gh-pages
Sep 29, 2025
490dfe0
Merge branch 'book-ko' of bundle-ko/ko.bundle into gh-pages
Sep 29, 2025
0ec9c6f
Merge branch 'book-mk' of bundle-mk/mk.bundle into gh-pages
Sep 29, 2025
0ebf805
Merge branch 'book-ms' of bundle-ms/ms.bundle into gh-pages
Sep 29, 2025
be20ab5
Merge branch 'book-nl' of bundle-nl/nl.bundle into gh-pages
Sep 29, 2025
0182892
Merge branch 'book-pl' of bundle-pl/pl.bundle into gh-pages
Sep 29, 2025
730b8a8
Merge branch 'book-pt-br' of bundle-pt-br/pt-br.bundle into gh-pages
Sep 29, 2025
3063501
Merge branch 'book-pt-pt' of bundle-pt-pt/pt-pt.bundle into gh-pages
Sep 29, 2025
8cddb7c
Merge branch 'book-ru' of bundle-ru/ru.bundle into gh-pages
Sep 29, 2025
a37f5b4
Merge branch 'book-sl' of bundle-sl/sl.bundle into gh-pages
Sep 29, 2025
907196a
Merge branch 'book-sr' of bundle-sr/sr.bundle into gh-pages
Sep 29, 2025
b34d7d3
Merge branch 'book-tl' of bundle-tl/tl.bundle into gh-pages
Sep 29, 2025
0aedc33
Merge branch 'book-tr' of bundle-tr/tr.bundle into gh-pages
Sep 29, 2025
c1ed3d2
Merge branch 'book-sv' of bundle-sv/sv.bundle into gh-pages
Sep 29, 2025
3d440ae
Merge branch 'book-uk' of bundle-uk/uk.bundle into gh-pages
Sep 29, 2025
0637e21
Merge branch 'book-uz' of bundle-uz/uz.bundle into gh-pages
Sep 29, 2025
24d2425
Merge branch 'book-zh' of bundle-zh/zh.bundle into gh-pages
Sep 29, 2025
86e6161
Merge branch 'book-zh-tw' of bundle-zh-tw/zh-tw.bundle into gh-pages
Sep 29, 2025
cbf1be2
Merge branch 'book-fa' of bundle-fa/fa.bundle into gh-pages
Sep 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions assets/sass/dark-mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@
@include box-shadow(none);
}

#front-nav img {
filter: none;
}

div.monitor {
filter: brightness(.85);
}
Expand Down
55 changes: 29 additions & 26 deletions assets/sass/front-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,59 +19,62 @@
ul {
@extend .unstyled !optional;
padding-top: 24px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 20px 40px;
margin-bottom: 40px;

li {
display: block;
float: left;
width: 280px;
margin-bottom: 20px;

&#nav-about,
&#nav-downloads {
margin-right: 30px;
}

&#nav-about,
&#nav-documentation {
margin-bottom: 40px;
}
}
}

a {
display: block;
height: 86px;
padding-left: 90px;
color: var(--font-color);
background-repeat: no-repeat;
background-position: 0 0;
transition-duration: 0.3s;
transition-property: color;
display: grid;
grid-template-columns: 74px 1fr;
grid-template-rows: auto auto;
column-gap: 1rem;
align-items: start;

img {
float: left;
margin-right: -90px;
margin-left: -90px;
opacity: 0.9;
grid-row: 1 / -1;
grid-column: 1;
transition-duration: 0.3s;
transition-property: opacity;
opacity: 0.4;
width: 38px;
height: 38px;
background-color: #cdcdc5;
border-radius: 40%;
padding: 18px;

:root[data-theme="dark"] & {
filter: invert(1);
background-color: #9d9c9a;
}
}

h3 {
font-size: 18px;
font-weight: bold;
color: var(--orange);
grid-row: 1;
grid-column: 2;
}

p {
grid-row: 2;
grid-column: 2;
font-size: 13px;
line-height: $base-line-height * 0.8;
color: var(--font-color);
}
}

a:hover {
img {
opacity: 1;
opacity: 0.7;
}

h3 {
Expand Down
49 changes: 49 additions & 0 deletions assets/sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,55 @@ aside {
}
}

.callout.icon {
position: relative;
padding: 20px 20px 20px 90px !important;
border: 2px solid var(--callout-color);
background: transparent;

&.book {
background: var(--callout-color);
}

a h3 {
font-size: 18px;
color: var(--link-color);
}

p {
font-size: 15px;
line-height: 1.3em;
}

img {
position: absolute;
top: 20px;
left: 17px;
width: 54px;
height: 54px;
opacity: 0.4;

:root[data-theme="dark"] & {
filter: invert(1);
}
}


&.video ul {
list-style-type: none;
margin-left: 1rem;

::marker {
content: "";
margin-right: .5rem;
}

li {
margin: .25rem 0;
}
}
}

.callout {
background-color: var(--callout-color);
@include border-radius(3px);
Expand Down
18 changes: 0 additions & 18 deletions assets/sass/reference.scss
Original file line number Diff line number Diff line change
Expand Up @@ -354,24 +354,6 @@ ol.reference-previous-versions {
}
}

.callout.ref-manual {
@include background-image-2x($baseurl + "images/icons/book", 54px, 72px, 24px 20px);
padding: 20px 30px 20px 100px !important;
background-color: var(--callout-color);
iframe {
max-width: 100%;
}

h3 {
font-size: 18px;
}

p {
font-size: 15px;
line-height: 1.3em;
}
}

p.quickref {
@include background-image-2x($baseurl + "images/icons/document", 15px, 21px, 0 0);
padding-left: 22px ! important;
Expand Down
2 changes: 1 addition & 1 deletion content/cheat-sheet/_index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
section: "documentation"
section: "learn"
subsection: "cheat-sheet"
title: "Git Cheat Sheet"
url: /cheat-sheet.html
Expand Down
58 changes: 0 additions & 58 deletions content/doc/_index.html

This file was deleted.

2 changes: 1 addition & 1 deletion content/doc/ext/_index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
section: "documentation"
section: "learn"
subsection: "external-links"
title: "Git - External Links"
url: /doc/ext.html
Expand Down
57 changes: 57 additions & 0 deletions content/learn/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
section: "learn"
title: "Git - Learn"
url: /learn.html
---

<div id="main">

<h1> Learn </h1>

<div class="callout icon book">

<a href="{{< relurl "book">}}">
<img alt="" aria-hidden="true" src="{{< relurl "images/icons/fa-book.svg">}}" >
<h3> Pro Git Book </h3>
</a>

<p>The entire Pro Git book written
by Scott Chacon and Ben Straub is available to read online for free.
Print copies are available on <a
href="https://www.amazon.com/Pro-Git-Scott-Chacon/dp/1484200772?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon.com</a>.
</p>
</div>

<div class="callout icon video">
<a href="{{< relurl "videos">}}">
<img alt="" aria-hidden="true" src="{{< relurl "images/icons/fa-video.svg">}}" >
<h3> Videos </h3>
</a>

<p>
Short videos introducing Git for total beginners.
</p>
{{< videos-summary >}}
</div>

<div class="callout icon cheat-sheet">
<a href="{{< relurl "cheat-sheet">}}">
<img alt="" aria-hidden="true" src="{{< relurl "images/icons/fa-note-sticky.svg">}}" >
<h3>Cheat Sheet</h3>
</a>
<p>
The most common Git commands, with diagrams illustrating the difference
between merge and rebase.
</p>
</div>

<div class="callout icon external-links">
<a href="{{< relurl "doc/ext">}}">
<img alt="" aria-hidden="true" src="{{< relurl "images/icons/fa-arrow-up-right-from-square.svg">}}" >
<h3>External Links</h3>
</a>
<p>
Ever-evolving collection of tutorials, books, videos, and other Git resources from the community.
</p>
</div>
</div>
2 changes: 1 addition & 1 deletion content/videos/_index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
section: "documentation"
section: "learn"
subsection: "videos"
title: "Git - Videos"
url: /videos.html
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
### DO NOT EDIT! Generated by script/update-book2.rb
category: book
section: documentation
section: learn
subsection: book
sidebar: book
book:
Expand Down
Loading