initial commit instructions

This commit is contained in:
Audrey Jensen 2023-08-09 19:52:16 +00:00
parent 3e0e76c8dc
commit 68f981b51e

View File

@ -20,7 +20,7 @@ Run the installer. Default settings are acceptable.
## Deployment ## Deployment
### Requirements: ### Requirements:
- Git must be installed on the host system. [See Server Setup Install Git](#install-git) for instructions on installing. - Git must be installed on the host system. [See Server Setup Install Git](#install-git) for instructions on installing.
### Deployment ### Clone the repo
1. Open a terminal to the root of the C drive, or wherever the production code will reside. 1. Open a terminal to the root of the C drive, or wherever the production code will reside.
2. Use this following command to clone the upstream repository: 2. Use this following command to clone the upstream repository:
```bash ```bash
@ -192,6 +192,12 @@ In the interest of simplicity, this section will describe the process for commit
|`git pull` | Pulls pending changes from upstream. ALWAYS do this before a push| |`git pull` | Pulls pending changes from upstream. ALWAYS do this before a push|
|`git push` | Updates upstream origin with the changes made.| |`git push` | Updates upstream origin with the changes made.|
If this is your first time committing, Git will throw an error. You need to configure a name and email to commit under.
Open a terminal and use the following commands.
```bash
git config --global user.name "Your Name"
git config --global user.email "Your@Email"
```
## Reverting Changes ## Reverting Changes
To restore production to the current upstream branch (undoing any changes made locally) use this command To restore production to the current upstream branch (undoing any changes made locally) use this command
```git ```git