Skip to content

iflores7/IFT220_Lab2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 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 UI) my code (https://github.com/ericcase/IFT220_Lab2)
  3. Install Git for Windows (https://git-for-windows.github.io)
    1. If you installed a text editor, selected it during the install
  4. 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.
  1. Change one or more of the files somehow and save the change(s)
    1. Use psedit to edit in PowerShell ISE, or use your text editor
    2. What shoud you change? See the files for instructions.
  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 commmits like this:

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PowerShell 100.0%