VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Git for Professionals Tutorial - Tools & Concepts for Mastering Version Control with Git

Git for Professionals Tutorial - Tools & Concepts for Mastering Version Control with Git

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Git has the power to make you a better software developer. But you'll have to go beyond the basic commit, push, pull to use it effectively! In this course, we'll look at some of the more advanced concepts and tools to make you more productive and confident with Git. This course focuses on using Git with the command line. -- This course was created by Tobias G-nther from Tower. You can download Tower's Git desktop UI here: https://www.git-tower.com
Date: 2022-03-14

Comments and reviews: 8


notes to self:
only combine changes of a single topic in the same commit,
git add -p enables staging parts of the changes of a file (patch level), of course, the file must already be tracked (using git add).
merge: combining two different branches, it creates a merge commit in the process. with merge the two branches keep there own history seperated:
b1-------- c1---------c2-----------------cm
b2 -----c1-----c2--- c3 --------
rebase: rebase will unite the two commit histories of both branches, do not use rebase changes pushed to remote repo, rebase diagram:
before rebase:
b1: c1-------------c3------------
b2 --------c2-----------c4-----
after rebase:
c1-----c2-----c4-----c3-
notice that c3 is at the end, rebase moves commits that happened on b1 after the common ancestor, this means that c3 has changed (different parent)

reply

start was interesting, but alot of -water- that not makes sense, can be converted from 40 min to 10-20min ! why show that you use a 100+ megabit connection and so on/...
Use -git mergetool- + meld and forget about git conflicts! however i still cant understand, why you are do not use -mate- IDE to solve conflit? or that IDE do not help? so why not start to use ATOM, its free and powerful as jetbains or web studio!

reply

For me the most important thing that belongs in a commit message is: Why this change. This should go in the subject not the What, because the What can be seen easily by looking at the changes. I think commit-messages as annotations to the changed lines, not describing the history of the project. So I write the messages for -git blame- and not for -git log-
reply

A small remark; please clarify. Seems to me that the arrows are placed in the opposite direction of the development flow. Should I read them as a change is pulled from a previous step? I presume the diagrams need to be read from from left to right but the arrows seem to point against this direction.
reply

Good tutorial. Regarding GitFlow I recently created an extension for VS Code serhioromano.gitflow that creates visual interface and helps manage a project with that branching model. There is much more to GitFlow, with support type branch that allows to have LTS versions, and tags management.
reply

Love this talk. Concise but clear explanations on some of the concepts that people misunderstand. Would love to see something similar about the basics e.g. how git work (local vs origin), how commits work etc.
reply

Can anyone please explain why the arrows after the branch labels are pointing forward, while those for the commit labels pointing backwards? What is the convention being followed? For Eg look -35:46
reply

Very informative and comprehensive on the main topics we work with in Git. I just saved myself several google searches trying to understand the concepts. Thank you -freeCodeCamp!
reply
Add a review, comment






Other channel videos