How to use Git - Git Video Tutorial - Part 2 (log, reflog, show, gitk, checkout, reset)
HTML-код
- Опубликовано: 13 сен 2024
- Part 2!
Today we go over your repositories history using the following commands:
git log
git reflog
git show
gitk
git checkout filename
git reset
Learn how to check your history and revert backwards!
At the end of this video I wanted to mention once again that branching is a more efficient want to tackle any crazy "experiments" you'd like to do with your project. There are also other great reasons to branch your project, and I'm pretty excited to make this video hopefully very soon because I know it can be an intimidating subject. Have a great one everybody.
Like colors? Try:
git config color.ui true
I have to thank you ... tried Git a few times but never got it 100%. Now I seem to be on the right track with your vids. Clear and easy to understand
Fantastic git tutorial. You teach at the perfect speed and your videos are each the perfect length. Easy to view on my iPad. Thank you! you!
Thanx to Jason, now i am understood easily about GIT..... and if you have TDD and BDD videos please upload it.
Hi. thank for the videos. I can finally start wrapping my head around all that Git stuff.
Thanks for the video. Using the term "saved state" for "commit" was a bit confusing. I've not heard it referred to that way any where else.
It makes a lot more sense if you've ever played an old SNES game on an emulator or such.
really good videos, the best one I've watched about git!!!
Thank you again, Jason.
That was just the process used for the same random hash, in a simple example, imagine a file with a unique hash, in order to copy it, you have to locate it, read the file and store the data from the file, then getting 3 lines with processes in the log on the same unique hash file.
Swell!
Excellent videos, thanks!
Try checking out my earlier videos, part 0 and part 1 show how to connect your computer to git hub, all you really need to do is the same process over and over.
Hey could anyone point me in the right direction. I'm looking to understand how to use my git repo on multiple machines.
Those duplicates happened to be the same file. One commit and two checkouts.
Could you make a video about this:
git pull
error: Your local changes to the following files would be overwritten by merge:
InvestigacionLenguajes.pdf
Please, commit your changes or stash them before you can merge.
Aborting
I tried coke once....I almost drowned. lulz.
what is a green with + sign?
the green lines with a plus sign indicate new lines added to the file
okay.. Thanks for answering my question
can you have a tutorial about visual studio 2013 using git?
+Kimberly Olivo Unfortunately I don't use Visual Studio :/ sorry about that!
ohh okay its fine with me
I tried to use git reset --hard and didnt work
$ git pull
Auto-merging InvestigacionLenguajes.tex
CONFLICT (content): Merge conflict in InvestigacionLenguajes.tex
CONFLICT (modify/delete): InvestigacionLenguajes.pdf deleted in aef51d1ed4d31d6b
94d764f8c0f19f2acdf0d760 and modified in HEAD. Version HEAD of InvestigacionLenguajes.pdf left in tree.
Automatic merge failed; fix conflicts and then commit the result.
yours duplicated the start of the random hash 3 times in a row
thanks thanks but your to fast
if only there was a way to pause these videos...