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.
7777- Your files are in "/home/<your login>"or "/Users/<your login>"
7878- Trees are upside-down in computer science
7979
80- *** Is it working ?
80+ *** Who are you ?
8181#+BEGIN_SRC bash
8282whoami
8383#+END_SRC
8484
85- *** Where are we ?
85+ *** Where are you ?
8686#+BEGIN_SRC bash
8787pwd # Print Working Directory
8888#+END_SRC
143143
144144*** Line Endings
145145#+BEGIN_SRC bash
146- git config --global core.autocrlf input # Unix
146+ git config --global core.autocrlf input # Unix and MacOS
147147git config --global core.autocrlf true # Windows
148148#+END_SRC
149149
150150*** 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 :
152152#+BEGIN_SRC bash
153153git config --global core.editor "nano -w"
154154#+END_SRC
155155
156156*** Updating remotes
157157Only push the current branch (more about this later):
158158#+BEGIN_SRC bash
159- git config --global push.default = "simple"
159+ git config --global push.default "simple"
160160#+END_SRC
161161
162162*** Inspect your configuration
You can’t perform that action at this time.
0 commit comments