File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ This will provide you with both Git and Bash in the Git Bash program.
77
77
- Your files are in "/home/<your login>"or "/Users/<your login>"
78
78
- Trees are upside-down in computer science
79
79
80
- *** Is it working ?
80
+ *** Who are you ?
81
81
#+BEGIN_SRC bash
82
82
whoami
83
83
#+END_SRC
84
84
85
- *** Where are we ?
85
+ *** Where are you ?
86
86
#+BEGIN_SRC bash
87
87
pwd # Print Working Directory
88
88
#+END_SRC
143
143
144
144
*** Line Endings
145
145
#+BEGIN_SRC bash
146
- git config --global core.autocrlf input # Unix
146
+ git config --global core.autocrlf input # Unix and MacOS
147
147
git config --global core.autocrlf true # Windows
148
148
#+END_SRC
149
149
150
150
*** Editor
151
- You can use any text editor, but you want a sensible default in case Git pops one up :
151
+ You can use any text editor, but you want a sensible default in case Git opens one for you :
152
152
#+BEGIN_SRC bash
153
153
git config --global core.editor "nano -w"
154
154
#+END_SRC
155
155
156
156
*** Updating remotes
157
157
Only push the current branch (more about this later):
158
158
#+BEGIN_SRC bash
159
- git config --global push.default = "simple"
159
+ git config --global push.default "simple"
160
160
#+END_SRC
161
161
162
162
*** Inspect your configuration
You can’t perform that action at this time.
0 commit comments