File tree Expand file tree Collapse file tree 3 files changed +34
-97
lines changed Expand file tree Collapse file tree 3 files changed +34
-97
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
4
+ Git and GitHub course.
5
+
6
+ File names ending in <strong >.ps1</strong > are PowerShell scripts that run on Windows,
7
+ but now also Mac and Linux machines after installing Microsoft's PowerShell.
8
+
9
+ File names ending in <strong >.sh</strong > are Bash scripts that normally run on Mac,
10
+ and now also on Anniversary Edition Windows 10 machines.
11
+ Such scripts are being phased out in favor of a PowerShell script for use by all.
12
+
13
+ Learners make use of two sets of scripts that issue <strong >git commands</strong >
14
+ so you can experiment to see what happens when you make a change to commands.
15
+
16
+ <strong >git-sisters-update.ps1</strong > is a PowerShell script that
17
+ clones a sample sample repository you forked on GitHub.
18
+ It calls a script that sets git configurations for a project (or globally)<br />
19
+ <strong >git_client-config.ps1</strong >
20
+
21
+ <strong >git-sample-repo-create.ps1</strong > is a PowerShell script that
22
+ creates a repository on your local clones your fork of a sample sample repository.
23
+
24
+ All these scripts create a folder, but that folder is deleted at the beginning of each run.
25
+
26
+ Enjoy!
Original file line number Diff line number Diff line change @@ -75,6 +75,14 @@ git config $GIT_GLOBAL diff.mnemonicprefix true
75
75
git config $GIT_GLOBAL rerere.enabled false
76
76
# See https://chuva-inc.com/blog/fast-tip-enable-git-rerere-right-now
77
77
78
+ # Disable “how to stage/unstage/add” hints given by git status:
79
+ git config $GIT_GLOBAL advice.statusHints false
80
+
81
+ # Allow git diff to do basic rename and copy detection:
82
+ git config $GIT_GLOBAL diff.renames copies
83
+
84
+ # Always show a diffstat at the end of a merge:
85
+ git config $GIT_GLOBAL merge.stat true
78
86
79
87
# git config $GIT_GLOBAL --list # Dump config $GIT_GLOBAL file
80
88
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments