Skip to content

Commit 7948cb5

Browse files
committed
Update during class
1 parent c37cefa commit 7948cb5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# README.md
2-
3-
This GitHub repository contains files referenced by Wilson Mar's
1+
This GitHub repository contains files used by and explained in Wilson Mar's
42
Git and GitHub course.
53

4+
There are two editions of scripts in this repo.
5+
66
File names ending in <strong>.ps1</strong> are PowerShell scripts that run on Windows,
77
but now also Mac and Linux machines after installing Microsoft's PowerShell.
88

git-sample-repo-create.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Set-ExecutionPolicy Unrestricted
1919
# ./git-sample-repo-create.ps1
2020

21-
# Last tested on MacOS 10.11 (El Capitan) 2015-09-15
21+
# Last tested on MacOS 10.12 (Sierra) 2017-01-12
2222
# http://skimfeed.com/blog/windows-command-prompt-ls-equivalent-dir/
2323

2424
#################################
@@ -75,7 +75,7 @@ git init # init without --bare so we get a working directory:
7575
del .git/hooks/*.sample
7676
# No files yet for Get-ChildItem -Recurse | ?{ $_.PSIsContainer }
7777
echo "******** tree .git (blank repo)"
78-
tree .git
78+
tree .git
7979

8080
# exit #4 the file structure of an empty repo.
8181

@@ -132,7 +132,7 @@ git config user.signingkey 2E23C648 # not --global
132132

133133
echo "******** STEP commit (initial) README :"
134134
echo "hello" > README.md # no touch command on Windows.
135-
git add .
135+
git add . -A
136136
git commit -m "README.md"
137137
# In "create mode 100644", first three is about the file type
138138
# "644" (last three numbers) is the file permissions

0 commit comments

Comments
 (0)