Install https://www.microsoft.com/en-us/download/details.aspx?id=54616 (Win8.1AndW2K12R2-KB3191564-x64.msu)- Fork (top right on the GitHub web UI) my code from https://github.com/ericcase/IFT220_Lab2
- Install Git for Windows from https://git-for-windows.github.io
- Launch an Elevated (run as Admin) PowerShell ISE (don't use 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 Posh-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
cd ~ # change directory to the home/profile directory
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.
- See the files in the repo for instructions on what to change
- Use psedit to edit in PowerShell ISE, or use a text editor
- 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 commits like this: