Try   HackMD

Workshop Details
Dates: Sept. 11th - 21st, 2023
Time: 8:30am - 12:30pm

Workshop Agenda:
https://ucsdlib.github.io/2023-06-26-UCSD/

Day 2 Instructors:

Kim Thomas (UCSD)
Saulo Soares (UCSD)

Day 2: Session Topic

Topic/Lesson Link
Version Control with Git

Software Installation and Lesson Data Downloads
Refer to Software/Data Downloads: The Carpentries workshops

Workshop Day 2

Sign-in

First Last Name/Email:

  1. (example) Jane Doe / jdoe01@ucsd.edu
  2. Glen Spiteri / glenwspiteri@g.ucla.edu
  3. Tyler Gustafson / tyler_gustafson@berkeley.edu
  4. Aafrin Pettiwala/ aafrin.pettiwala@ucsf.edu
  5. Brooklyn Asai / basai@ucsd.edu
  6. Marie Kennedy / marie.kennedy@lmu.edu
  7. Jazer Sibley-Schwartz / jazer@ucsb.edu
  8. Levi Berge-Wells / lbergewells@ucsd.edu
  9. Ameesha Khan / ameesha_khan@berkeley.edu
  10. Benjamin Lam / b6lam@ucsd.edu
  11. Stephanie Ma/ sama@ucsb.edu
  12. Maksim Zingman / mzingman@ucsd.edu
  13. Wesley Cheng / wesleycheng@health.ucsd.edu
  14. Jasper Romero / jwromero@ucsc.edu
  15. Elise Lelou / elise.lelou@ucsf.edu
  16. Sophia Toubian / toubian@ucla.edu
  17. Caitlin Hunter/ hunter@law.ucla.edu
  18. Hailie Kittner/ hkittner@ucsb.edu
  19. Marissa Todesco/ mtodesco@ucsd.edu
  20. Hope Reuschel/ hreuschel@ucmerced.edu
  21. Rafael Coelho / rvcoelho@berkeley.edu
  22. Arianna Mordy / ariannamordy@ucla.edu
  23. ViviAnne Steer/ viviannesteer@berkeley.edu
  24. Jonathan Morrow / jonmorrow@ucla.edu
  25. Tamara Pilko / tpilko@ucsc.edu
  26. Mike Nguyen / mikey@college.ucla.edu
  27. Nicholas Lam / n2lam@ucsd.edu
  28. Yiyang Zhang / yiz217@ucsd.edu
  29. Phoebe Valdes / prvaldes@ucsd.edu
  30. Nikola Marinos Raitsevits/ nmarinosraitsevits@ucsd.edu
  31. Sudha Lingam / sudharani.lingam@ucsf.edu
  32. Julia Dominesey / jdominesey@ucsd.edu
  33. Melissa Hua / mhua27@g.ucla.edu
  34. Dhruthick Gowda Mohan / dgmohan@ucsd.edu
  35. Joshua Love / jlove@ucsb.edu
  36. Emily Lam / eml048@ucsd.edu
  37. Ethel Tackie-Yarboi/ ethel.tackieyarboi@ucsf.edu
  38. Danielle Williamson / danielle.williamson@ucsf.edu
  39. Seng Chea / schea@college.ucla.edu
  40. Andrew Martin / amartin462@ucmerced.edu
  41. Roxanne Corbeil / roxannecorbeil@g.ucla.edu
  42. Annie Ding / winterknight17@ucla.edu
  43. Bridgette Degnan / bdegnan@ucsb.edu
  44. Andreina Soto / andreina@ucsb.edu
  45. Alyssa Davis / alyssadavis3@g.ucla.edu
  46. Alice Abate / Alice.Abate@ucsf.edu
  47. alexis roberto / aroberto@g.ucla.edu
  48. Nicole Avalon / navalon@ucsd.edu
  49. Kao Kang Kue Vang / kaokangkue.vang@ucsf.edu
  50. Caitlin Nordheim / caitlinnordheim@ucsb.edu
  51. Nivedita Biswas / nivedita.biswas@ucsf.edu
  52. Devyansh Agrawal / dagrawal@ucsd.edu
  53. Laura Cheradame / laura.cheradame@ucsf.edu
  54. Aliza Adler / aliza.adler@ucsf.edu
  55. Hsiu-yu Yang / hsiuyu@ucla.edu
  56. Naoko Ohgama / ohgama@berkeley.edu
  57. Azad Namazie / ynamazie@g.ucla.edu
  58. Diana Corona-Mata / dcoronamata@health.ucsd.edu
  59. Kian Bagheri/ kibagheri@ucsd.edu
  60. Sarah Harper/ sarah.ko.harper@gmail.com
  61. Kyla Murphy/ kylamurphy@ucsb.edu
  62. Jennifer Bailey / jlbailey@ucsd.edu
  63. Eileen Keegan / ekeegan@library.ucla.edu
  64. Zhibin Cui / zhibin.cui@ucsf.edu
  65. Cheuk Tam / cheuk.tam@ucsf.edu
  66. Cody Ashe-McNalley / codyam@ucla.edu
  67. Shimelis Abebe Tegegn / shte0001@stud.slu.se
  68. Sule Sahin / Sule.Sahin@ucsf.edu
  69. Dylan Henson / dhenson@ts.ucla.edu
  70. Dong Le / dvl006@ucsd.edu
  71. Carlos Diaz / carlostaddiaz@library.ucla.edu
  72. David Kamper/ davidgkamper@ucla.edu
  73. Trivikram Choudhury / tchoudhury@ucsd.edu
  74. Corinna DesCombaz / Corinna.DesCombaz@ucsf.edu
  75. Scott Gruber/ sgruber@ioes.ucla.edu
  76. Raymond U / ru@college.ucla.edu
  77. Daniella Hanson / dahanson@ucdavis.edu
  78. Neil Greenleaves / neilgreenleaves@ucsb.edu
  79. Abby Teitgen / ateitgen@ucsd.edu
  80. John Hirning / jhirning@college.ucla.edu
  81. Scott Peterson / speterso@berkeley.edu
  82. Mary Ringwood / mringwood@ucsb.edu
  83. Zack Moreau / zmoreau@ucsd.edu
  84. Elise Chen / jiaying.chen@ucsf.edu
  85. Michael Ng / mng362@g.ucla.edu
  86. Leo S / lameds@gmail.com

Day 2 Questions:

Please enter any questions not answered during live session here:

  1. If we made a mistake entering out Git username, how do we undo it? I have the correct one working, but the "messed up" one still shows up when I do config list.
  2. How does "Git Commit -m" command "knows" to add the comment to the mars.txt file specifically. what if there are more files in the directory? Is it because we use "git add mars.txt" command right prior placing it on the staging area?

Day 2 Notes:

Recap: Commands used today:

git init #initialize repository

git status #current status - use this command after every git command

git add #adds files to be tracked, red color file names need to be added

git commit -m "shot message here" #commits changes for tracked files (green color). -m is required for adding a short message

git log #Shows commit information, commit identifier info

git diff #check the version changes

git checkout #used to select previous version commits - commit history

Remote git/github:

git push #pushes changes TO github from local machine

git pull #pulls changes FROM github to local machine

.gitignore file #text file that tells git which file extensions to ignore from versioning

touch # creates blank raw text file, specifying an extension is necessary.

mkdir # creates empty files

Recommend refering to this workflow cheatsheet, https://github.com/hbons/git-cheat-sheet

End of Day 2

OneDrive path:

$ cd ~/OneDrive/Desktop
$ cd C:/Users/Username/OneDrive/Desktop