You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-GitInstall-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 promptAdd-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> or git 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:
About
Just for teaching Git and PowerShell in my configuration Management and Active Directory course at ASU.