top of page
Writer's pictureCade.M

Introduction to GitHub.

Updated: May 25, 2020

As a class, we were introduced to GitHub and we all signed up for an account. I went with a team account because we would all be working in teams.


We were tasked to create a plain text document in the file explorer. From there, we would download GitHub desktop and we'd create a new repository on the web version. What I had to do afterwards was that I cloned the files and brought the created text document from the same file map via the local folders to the GitHub itself.

We created a new repository, then cloned the file from the same local map of the text document. From there we would commit to master and branch the files from the blue buttons themselves. "Commit to Master" > "Branch the files" Master would be on the bottom left of the desktop app and the branch would entail on the boxes on the local changes at the top box.


Now the next thing we had to do was to delete our file. So what we did was we deleted the file from the local drive itself. Afterwards, we refreshed the page on the GitHub and noticed there were 2 commits. One of them being that the file got deleted. So I looked into commit option and from there I selected the far-right option: "Browse the repository at this point in history". Afterwards, we went back on the GitHub Desktop and used "Commit to master" to "Push Origin". This method will recover your lost files.

One thing that wasn't addressed is how to download the GitHub files. So what you do is to go to your repository. So mine is Username/Concept ISIW. Then on the window of the code tab go to "Clone and Download." "Download ZIP." This should be able to help you download the files, make changes to your work and easily adjust them.

0 views0 comments

Recent Posts

See All

Comments


bottom of page