#This is the instruction file
(Do this on your VM. Take a VM snapshot so you can undo if something goes wrong.)
- Install https://www.microsoft.com/en-us/download/details.aspx?id=54616 (Win8.1AndW2K12R2-KB3191564-x64.msu)
- Fork (top right on the GitHub UI) my code (https://github.com/ericcase/IFT220_Lab2)
- Install Git for Windows (https://git-for-windows.github.io)
- If you installed a text editor, selected it during the install
- Launch an Elevated (run as Admin) PowerShell ISE (don't just PowerShell) and run
# Configure Git
git config --global user.name 'your name'
git config --global user.email 'your email address'
git config --global push.default simple
# Install Gosh-Git
Install-Module -Name posh-git -Force # step 1 was a needed update so we could have the Install-Module cmdlet
# Add Posh to PowerShell profile to get the Git prompt
Add-PoshGitToProfile
# Make a directory for you GitHub projects
mkdir .\Documents\GitHub
cd .\Documents\GitHub
# Clone your copy of my code in you new GitHub folder
git clone https://github.com/your_account/IFT220_Lab2.git
# Look at what the clone command did.- Change one or more of the files somehow and save the change(s)
- Use psedit to edit in PowerShell ISE, or use your text editor
- What shoud you change? See the files for instructions.
- Add the changed file(s) to the commit (
git add <filename>orgit add -A) - Commit (
git commit -m "a note about what you did") - Push (
git push --porcelain) - Refresh your GitHub site and see if the changes are there
- Turn in a screenshot showing your commmits like this: