Skip to content

Notebook Entry #6

Alexandra Lalor edited this page Oct 19, 2022 · 3 revisions

Alexandra Lalor

2022-10-19

What we learned: I was on a flight during the time of this meeting, so I watched the AM lesson from the FOSS youtube page. This week we learned about version control with git, and how to perform some commands within the terminal. I've used GitHub and RStudio, which has more visually friendly ways to commit changes and update Git. It was useful to learn some of these commands in the terminal, rather than relying on the point-and-click methods I'm accustomed to.

How I applied what we learned: One important point I learned about was the Git ignore feature. I think this would be really helpful to my project, because I have photo data which I don't want to be uploaded to GitHub but which I want in the same file structure as my GitHub account. I've run into problems multiple times in the past where I pushed my photo data (very very large data frame that was too big for GitHub), and then couldn't commit more changes because of file size constraints. I've spend multiple hours trying to backtrack to an older version of my data that didn't have the large files, and was lost trying to figure out the terminal. Now, I can add these files to git ignore, and hopefully won't run into that problem anymore. I still have to figure out how to do that, but I'm glad I know the option exists.

Challenges: I'm still not sure how to merge changes using GitHub, because I only really use GitHub as a place to store and share code. I've never been working on one piece of code with multiple collaborators, and then have to reconcile changes if we edited the same piece of information. I'd like more practice with this so I can take advantage of that collaborative ability of GitHub.

Final Project Goal: For my final project, I'd like to communicate my data processing protocol with my lab, so that they can replicate my work with another similar study. I want to make this communication of steps as smooth as possible, which means gathering code from multiple collaborators onto one place. My goal this week is to fork the code from my collaborator onto my own GitHub account, so that all the steps are accessible from one location.

Clone this wiki locally