Skip to content

Commit 2a4cb3f

Browse files
author
Matthew McCullough
committed
Merge pull request #91 from randomecho/slide-dolla-dolla-symbols
Fix missing dollar sign symbol on command line syntax in slides
2 parents 3369f07 + 8589047 commit 2a4cb3f

39 files changed

+94
-94
lines changed

slides/_posts/foundations/alias/0001-01-01-Creating-an-Alias.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Command shortcuts
1212

1313
Alias for status as 's'
1414

15-
git config --global alias.s "status -u -s"
15+
$ git config --global alias.s "status -u -s"
1616

1717
Alias showing all branches to 'br'
1818

19-
git config --global alias.br "branch -a"
19+
$ git config --global alias.br "branch -a"

slides/_posts/foundations/branch/0001-01-01-Listing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ tags:
77
---
88

99
# List (Local) Branches
10-
git branch
10+
$ git branch
1111

1212

1313

1414
{% capture notes %}
1515
# List remote branches
16-
git branch -r
16+
$ git branch -r
1717

1818
# List all branches
19-
git branch -a
19+
$ git branch -a
2020

2121
# List upstream branches
22-
git ls-remote origin
22+
$ git ls-remote origin
2323
{% endcapture %}
2424
{% include hydeslides/core/notes %}

slides/_posts/foundations/branch/0002-01-01-Creating.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ tags:
66
- short-branch
77
---
88

9-
git branch <branchname> <ref>
9+
$ git branch <branchname> <ref>
1010

1111
# Create & Checkout branch
12-
git checkout -b <branchname> <ref>
12+
$ git checkout -b <branchname> <ref>
1313

1414

1515
{% capture notes %}
16-
`git branch <BRANCHNAME> HEAD`
16+
`$ git branch <BRANCHNAME> HEAD`
1717

1818
HEAD is assumed when REF left off
1919

slides/_posts/foundations/branch/0003-01-01-Deleting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags:
77
---
88

99
# Delete if branch is merged with upstream
10-
git branch -d <branch-name>
10+
$ git branch -d <branch-name>
1111

1212
# Delete regardless of merge condition
13-
git branch -D <branch-name>
13+
$ git branch -D <branch-name>

slides/_posts/foundations/branch/0005-01-01-Renaming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ tags: ['branch']
55
---
66

77
# Change branch name
8-
git branch -m
8+
$ git branch -m
99
<orig-branch-name> <new-branch-name>

slides/_posts/foundations/checkout/0003-01-01-Switching-Branches.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: slide
44
tags: ['checkout']
55
---
66

7-
$ git checkout <branch-name>
7+
$ git checkout <branch-name>
88

99

1010

slides/_posts/foundations/config/0001-01-01-User-Information.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ chapter: Config
33
layout: slide
44
tags: ['config']
55
---
6-
git config --global user.name
6+
$ git config --global user.name
77
"<your-name>"
8-
git config --global user.email
8+
$ git config --global user.email
99
"<you>@<your-domain>.com"
1010

slides/_posts/foundations/config/0002-01-01-Scopes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ tags: ['config']
77

88
__system__ configuration
99

10-
git config --system <name> <value>
10+
$ git config --system <name> <value>
1111

1212
__user__ configuration
1313

14-
git config --global <name> <value>
14+
$ git config --global <name> <value>
1515

1616
__repository__ configuration
1717

18-
git config --local <name> <value>
18+
$ git config --local <name> <value>
1919

2020

2121

slides/_posts/foundations/config/0003-01-01-Viewing-All.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: slide
44
tags: ['config']
55
---
66

7-
git config --list
7+
$ git config --list
88

99
{% capture notes %}
1010

slides/_posts/foundations/config/0006-01-01-Useful-Settings.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ tags: ['config']
55
---
66

77
# Colorize console output
8-
git config --global color.ui auto
8+
$ git config --global color.ui auto
99

1010
# Force files to be LF on Mac/Linux
11-
git config --global core.autocrlf input
11+
$ git config --global core.autocrlf input
1212

1313
# Force Windows to convert to CRLF
1414
# on checkout and to LF on `add`
15-
git config --global core.autocrlf true
15+
$ git config --global core.autocrlf true
1616

1717

1818
{% capture notes %}
19-
Warn, but allow line ending conversion to proceed (the default)
20-
git config --global core.safecrlf warn
19+
# Warn, but allow line ending conversion to proceed (the default)
20+
$ git config --global core.safecrlf warn
2121

22-
Do not allow line ending conversion to proceed
23-
git config --global core.safecrlf true
22+
# Do not allow line ending conversion to proceed
23+
$ git config --global core.safecrlf true
2424

2525
http://help.github.com/dealing-with-lineending
2626
{% endcapture %}

0 commit comments

Comments
 (0)