... | ... | @@ -2296,26 +2296,27 @@ in your web browser. |
|
|
|
|
|
2. Change into the new folder.
|
|
|
|
|
|
```sh
|
|
|
cd git-workshop
|
|
|
```
|
|
|
```sh
|
|
|
cd git-workshop
|
|
|
```
|
|
|
|
|
|
3. Initialize the git repo.
|
|
|
|
|
|
```sh
|
|
|
git init .
|
|
|
```
|
|
|
```sh
|
|
|
git init .
|
|
|
```
|
|
|
|
|
|
4. Set your name (I have entered mine as an example).
|
|
|
|
|
|
```sh
|
|
|
git config user.name "Thomas J. Kennedy"
|
|
|
```sh
|
|
|
git config user.name "Thomas J. Kennedy"
|
|
|
```
|
|
|
|
|
|
5. Set your email (I have entered mine as an example).
|
|
|
|
|
|
```sh
|
|
|
git config user.name "tkennedy@cs.odu.edu"
|
|
|
```
|
|
|
```sh
|
|
|
git config user.name "tkennedy@cs.odu.edu"
|
|
|
```
|
|
|
|
|
|
6. *Note:* I prefer to set my name and email for each repo. If you want to set
|
|
|
your name and email globally (i.e., for all repos) add `--global` after
|
... | ... | |