forked from swcarpentry/r-novice-gapminder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 8-new-epsiode-sql-and-r
- Loading branch information
Showing
4 changed files
with
350 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,14 @@ of configurations we will set as we get started with Git: | |
|
||
On a command line, Git commands are written as `git verb options`, | ||
where `verb` is what we actually want to do and `options` is additional optional information which may be needed for the `verb`. So here is how | ||
Dracula sets up his new laptop: | ||
you can configure `git` on your own machine: | ||
|
||
```bash | ||
$ git config --global user.name "Vlad Dracula" | ||
$ git config --global user.email "[email protected]" | ||
$ git config --global user.name "<Your Full Name>" | ||
$ git config --global user.email "<your email address>" | ||
``` | ||
|
||
Please use your own name and email address instead of Dracula's. This user name and email will be associated with your subsequent Git activity, | ||
This user name and email will be associated with your subsequent Git activity, | ||
which means that any changes pushed to | ||
[GitHub](https://github.com/), | ||
[BitBucket](https://bitbucket.org/), | ||
|
@@ -84,7 +84,7 @@ $ git config --global core.autocrlf true | |
|
||
:::::::::::::::::::::::::::::::::::::::::::::::::: | ||
|
||
Dracula also has to set his favorite text editor, following this table: | ||
You can also set your favorite text editor, following this table: | ||
|
||
| Editor | Configuration command | | ||
| :----------- | :------------------------------ | | ||
|
@@ -118,8 +118,8 @@ If you want to save your changes and quit, press <kbd>Esc</kbd> then type `:wq` | |
:::::::::::::::::::::::::::::::::::::::::::::::::: | ||
|
||
Git (2.28+) allows configuration of the name of the branch created when you | ||
initialize any new repository. Dracula decides to use that feature to set it to `main` so | ||
it matches the cloud service he will eventually use. | ||
initialize any new repository | ||
You should set this to `main` so it matches the cloud service you will eventually use. | ||
|
||
```bash | ||
$ git config --global init.defaultBranch main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.