Skip to content

Just for teaching Git and PowerShell in my configuration Management and Active Directory course at ASU.

Notifications You must be signed in to change notification settings

ericcase/IFT220_Lab2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IFT 220 Lab 2

For ASU's IFT 220 2018 Fall B course.

(Do this on your VM. Take a VM snapshot so you can undo if something goes wrong.)

  1. Install https://www.microsoft.com/en-us/download/details.aspx?id=54616 (Win8.1AndW2K12R2-KB3191564-x64.msu)
  2. Fork (top right on the GitHub web UI) my code from https://github.com/ericcase/IFT220_Lab2
  3. Install Git for Windows from https://git-for-windows.github.io
  4. 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.
  1. See the files in the repo for instructions on what to change
    1. Use psedit to edit in PowerShell ISE, or use a text editor
  2. Add the changed file(s) to the commit (git add <filename> or git add -A)
  3. Commit (git commit -m "a note about what you did")
  4. Push (git push --porcelain)
  5. Refresh your GitHub site and see if the changes are there
  6. Turn in a screenshot showing your commits like this:

About

Just for teaching Git and PowerShell in my configuration Management and Active Directory course at ASU.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published