Difference between revisions of "MORT U 2018"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
[https://mort11.com/downloads/face.jpg Face the Face]
 
[https://mort11.com/downloads/face.jpg Face the Face]
  
−
[https://mort11.com/downloads/mentor.wiki/Senior%20Welcome%20to%20Programming.pptx '''Introduction Presentation''']
+
[https://mort11.com/downloads/mentor.wiki/Programming/Senior%20Welcome%20to%20Programming.pptx '''Introduction Presentation''']
  
 
[https://mort11.com/mentor.wiki/index.php/Git_Basics#Git_Vocabulary '''Git Vocabulary'''] on the [[Git Basics]] page ([https://mort11.com/downloads/mentor.wiki/Vocab%20Git.docx Original Git Vocabulary doc])
 
[https://mort11.com/mentor.wiki/index.php/Git_Basics#Git_Vocabulary '''Git Vocabulary'''] on the [[Git Basics]] page ([https://mort11.com/downloads/mentor.wiki/Vocab%20Git.docx Original Git Vocabulary doc])

Latest revision as of 21:01, 6 January 2020

Day 1

Face the Face

Introduction Presentation

Git Vocabulary on the Git Basics page (Original Git Vocabulary doc)

Installs for:

Added later:

10 Minute Cycle Rule:

  • You get 10 minutes with the robot, then need to relinquish it to other students

Day 2

Setup and try Git using TortoiseGit. First need to generate a private key for use with the repositories.

Installs:

  • gitlab A web-based Git-repository manager providing wiki, issue-tracking, and continuous integration features.
  • puttygen A public/private key generator

Setup:

  1. Run puttygen to create a private key for use in Git
  2. In puttygen, Generate public/private key and save to C:\users\user\.ssh\tortoisekeys
  3. open gitlab -> Profile pic -> Settings -> Side ssh keys -> title key -> paste key
  4. Right Click -> Tortoise git -> Settings -> Git credentials -> Username -> use first and last name
  5. Make a new folder
  6. Make a new repository (private)
  7. Copy ssh URL
  8. Git create repo here
  9. Git sync -> manage -> paste URL
  10. Create blank text file
  11. Git -> ssh -> putty key -> link key
  12. Commit -> message "initial commit"
  13. Check mask file
  14. Commit
  15. Check repository - nothing there?
  16. We need to push! Commits are only local save states
  17. Click elipses on local branch, Click master
  18. Push -> yes
  19. Add stuff and change things to the file
  20. Do two commits, then push
  21. Delete local file
  22. Copy ssh URL from gitlab
  23. Paste URL
  24. Load putty key -> click key
  25. Do one more commit and change, and then push
  26. Oops made a mistake
  27. Show Log -> Right click -> commit -> Reset master to this

Day 3

Benny's github MORT U Project