Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 1.16 KB

Instructions.md

File metadata and controls

55 lines (49 loc) · 1.16 KB

Instructions for the Git Workshop

  1. Git Config
  • Walk through students
    git config user.name JohnDoe123
    git config user.email [email protected]
    
  1. Git Clone
  • Walk through students
    git clone https://github.com/MSUM-ACM/ACMGitWorkshop.git
    
  1. Git Branch
  • Theory Talk
    git branch bugfix/TestFix
    
  1. Demo bug fix
  • Walk through the standard procedure
    1. Review Quality Assurance Ticket
    2. Reproduce locally
    3. Remedy error
    4. Put new code on the repository
    git add *
    git commit -m "Fixed Ticket #372"
    git push
    
  1. Students repeat demo

    • Students Branch
    git branch yourNameHere
    
    • Students add a line
    Console.WriteLine("yourNameHere");
    • Students Push to repository
    git add *
    git commit -m "Added yourNameHere to the file"
    git push --set-upstream origin yourNameHere
    
    • Go through Pull Requests
    • Merging back into dev
    • "tested by QA"
    • Merge into release
    • Merge into master
  2. First hand proof of field usage