Today I'm working on a Git class on Treehouse, "Working with Remote Repositories." Then, I'm reviewing all the work I've done on Git, briefly, so I can move on to Javascript.
Unless we are starting the project ourself, usually the first step in working with Git is to clone the repository to your local computer and tell it the remote repositories you will be working with. If we enter the git clone command, followed by the path to the Git repository, followed by the name of the folder we wish to clone the repository in, Git will clone the specified repository into the named folder.
When we clone a repository into our new project folder, Git creates a folder named origin in the new project folder. The origin folder is a copy of the remote repository that was cloned into the new project folder. On the other hand, the original repository is unchanged, no new folders are added to it whenever someone clones it. However, with the git remote add command, followed by the folder name and the pathway of the cloned repository, we can add a copy of the new cloned folder to the original Git repository.
To push some work that we've done on a branch up to our remote, we would use the git push origin command, followed by the name of the branch we are pushing.
I then went over a video that went over Github and the services it provides. Github offers pull requests. Pulling means to merge changes in from a remote repositories. A pull request is what you use when you have code that you want someone to pull into their project. We also went over forking briefly, which is the process by which you clone someone else's repository.
I finally completed the Github Basics course! After doing so, I went back to the beginning and watched every video again. I wanted to increase my retention of all the information I went over, and I thought reviewing the entire course would help, so I did.
SUMMARY OF CODING SKILLS
Total Treehouse Points: 4,236
Treehouse Points by Subject Matter: HTML 663, CSS 1,599, Design 1,193, Development Tools 747, and Miscellaneous
Treehouse Ranking (%): "You have more total points than 88% of all students."
Treehouse Badge(s) Earned Today:
Working with Remote Repositories
Treehouse Courses Completed:
How to Make a Website
HTML
CSS Foundations
CSS Layout Techniques
Aesthetic Foundations
Design Foundations
Adobe Photoshop Foundations
Adobe Illustrator Foundations (66% complete, but switched focus to web dev, as opposed to web design)
Git Basics
Codecademy (& other) Courses Completed:
HTML and CSS (Codecademy)
Design Foundations
Adobe Photoshop Foundations
Adobe Illustrator Foundations (66% complete, but switched focus to web dev, as opposed to web design)
Git Basics
Codecademy (& other) Courses Completed:
HTML and CSS (Codecademy)
Books Read or in Progress:
Completed: "Head First HTML and CSS," by E. Robson & E. Freeman (37 pg preface and 710 pgs of actual content (as in, I'm not including the book's index))
My Progress on The Odin Project:
1. Introduction to Web Development 100% Complete
2. Web Development 101 29% Complete
3. Ruby Programming 0% Complete
4. Ruby on Rails 0% Complete
5. HTML5 and CSS3 0% Complete
6. Javascript and JQuery 0% Complete
7. Getting Hired as a Web Developer 0% Complete
Hours Spent Coding Today: 3
Total Hours Coding: 300
Total Hours Coding: 300
No comments:
Post a Comment