How To Use GIT and SourceTree - For Beginners

preview_player
Показать описание


In this tutorial, i briefly go over the basics of GIT, and then I start the slow process of an example of GIT using SourceTree. Hopefully you're able to understand it pretty well after the first example.

I DO NOT cover Conflicts, Errors, or File Merging. I might cover that in another video...

Key words to remember when playing with Subversion & GIT
------------------------------------------------------------------------------
1. Master Repository: place where you upload your Committed files.
2. Local Repository: place on your computer where you save and work on files
3. State/Revision: basically a save file of your repository (they never overwrite)
4. Commit: store your files to a state/revision on your local repository . These commits serve as nodes.
5. Nodes: "save files" of commits to the repository. Nodes automatically Branch off of the Master Repository
6. Branch: both a verb and a noun, referring how GIT branches off nodes when users commit their files.
7. Head: most recent node on a branch
8. Merge: Combines 2 branch heads together into 1 branch (usually with the Master Branch)
9. Push: Uploads or sends all of your commits to the Master Repository
10. Fetch: Downloads all of the commits from the Master Repository to your Local Repository (DOES NOT MERGE)
11. Pull: Downloads all of the commits from the Master Repository to your Local Repository AND MERGES your most recent commit
Рекомендации по теме
Комментарии
Автор

First time I've ever paid attention to someone with an anime avatar. Despite the poor mic, your presentation is well organized and well described. Thanks.

daveeckblad
Автор

that list on the left side really did the job, tywm

sufferererik
Автор

Thanks - this is the best SourceTree/Git tutorial I've seen. Your keywords chart is quite useful too. Good job!

SeanCMedina
Автор

The best GIT/SourceTree intro video I've seen so far except the mouse click noises are a little annoying.

legowolfd
Автор

thanks a lot for going through the effort of putting this together

teeed
Автор

What program did you use to make this video? I especially like the way it tracks and shows what keys you use.

waymoot
Автор

An explanation of the difference between fetch and pull would be useful, as would a proper merge conflict.

dry_biscuits
Автор

Thanks, it's the best video on this topic for beginners. Can you upload more video's on how to merge code when people are working parallely on same file and also to read the flow chart when multiple branches exist.

divyagarg
Автор

Why did you have to pull again after the fetch at the end, I thought fetch pulled and then merged, cheers and thanks so much!!

djpetz
Автор

Thank you man! The video was very helpful. The clicking sound was very annoying though :(

TanveerHassan
Автор

Great job (: You really helped me understand how Git works!

ilmatic
Автор

Thanks.  You forgot to write the meaning of "staged".
Can you use git only for plain text files or for anything? (for example pdf, zip...)

amparrr
Автор

Nice video and a good walkthrough. If provided the flowchart and the points, would be better that will retain.

kungra
Автор

Why take Jill and Joe as example names? These sound too much the same. Why not Joe and Anna for example? For the rest nice tut.

ultralooter
Автор

Hey - Thank you Kevin for doing this. Much appreciated.

randym.
Автор

Great explain... Appreciate your work...Keep it up

shiyamjannan
Автор

Thanks for uploading this video, very helpful. Do you have anything on branching and merging?

KunjiNannu
Автор

Could you put the keyword list in the video description? Would help a lot!

ClaudioBalbin
Автор

Just some constructive criticism: you could also show occuring conflicts and troubleshooting (detached head, ...) if you're in the mood.

cucco
Автор

Thank you very much kevin, this was extremely helpful.

hcavalaria