From 68f981b51ed0bc55b965473b552b8f2d0736f5e1 Mon Sep 17 00:00:00 2001 From: Audrey Jensen Date: Wed, 9 Aug 2023 19:52:16 +0000 Subject: [PATCH] initial commit instructions --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b3f0cb..618d9d1 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Run the installer. Default settings are acceptable. ## Deployment ### Requirements: - 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. 2. Use this following command to clone the upstream repository: ```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 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 To restore production to the current upstream branch (undoing any changes made locally) use this command ```git