File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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
4
2
Git and GitHub course.
5
3
4
+ There are two editions of scripts in this repo.
5
+
6
6
File names ending in <strong >.ps1</strong > are PowerShell scripts that run on Windows,
7
7
but now also Mac and Linux machines after installing Microsoft's PowerShell.
8
8
Original file line number Diff line number Diff line change 18
18
# Set-ExecutionPolicy Unrestricted
19
19
# ./git-sample-repo-create.ps1
20
20
21
- # Last tested on MacOS 10.11 (El Capitan) 2015-09-15
21
+ # Last tested on MacOS 10.12 (Sierra) 2017-01-12
22
22
# http://skimfeed.com/blog/windows-command-prompt-ls-equivalent-dir/
23
23
24
24
# ################################
@@ -75,7 +75,7 @@ git init # init without --bare so we get a working directory:
75
75
del .git/ hooks/* .sample
76
76
# No files yet for Get-ChildItem -Recurse | ?{ $_.PSIsContainer }
77
77
echo " ******** tree .git (blank repo)"
78
- tree .git
78
+ tree .git
79
79
80
80
# exit #4 the file structure of an empty repo.
81
81
@@ -132,7 +132,7 @@ git config user.signingkey 2E23C648 # not --global
132
132
133
133
echo " ******** STEP commit (initial) README :"
134
134
echo " hello" > README.md # no touch command on Windows.
135
- git add .
135
+ git add . - A
136
136
git commit - m " README.md"
137
137
# In "create mode 100644", first three is about the file type
138
138
# "644" (last three numbers) is the file permissions
You can’t perform that action at this time.
0 commit comments