Git & GitHub Crash Course For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 2.5K

  • @prodengineer7164
    @prodengineer7164 4 ปีที่แล้ว +1312

    I just wanted to say thank you for this great video! 💙
    What is git?- 0:34
    Concepts of git - 2:18
    Basic commands - 3:14
    Installing git - 5:43
    touch (command) - 10:15
    git init(command) - 11:33
    username/email configuration - 12:43
    git add (command) - 13:20
    git status(command) - 13:35
    git rm - -cached(command) - 14:00
    git add *.html (command) - 14:22
    git add .(command) - 15:00
    git commit(command) - 15:50
    git commit -m ' ' (command) - 17:43
    .gitignore (documentation) - 18:14
    git branch(command) - 21:50
    git checkout(command) - 23:30
    git merge(command) - 24:46
    GitHub new repository - 26:15
    git remote(command) - 27:46
    git remote add origin(command) - 27:54
    git push -u origin master(command) - 28:07
    git clone(command) - 31:00
    git pull(command) - 31:33

    • @TalsonHacks
      @TalsonHacks 4 ปีที่แล้ว +1

      Prod Engineer thank you Prod

    • @linonator
      @linonator 4 ปีที่แล้ว +1

      Thank a lot for this !

    • @veryangrytomato
      @veryangrytomato 4 ปีที่แล้ว +4

      Absolute hero

    • @stafford3837
      @stafford3837 4 ปีที่แล้ว +3

      Really nice - thanks

    • @zubbyemodi1267
      @zubbyemodi1267 4 ปีที่แล้ว +2

      Haha was looking out for this. Thanks Prod

  • @TheTraderGuy
    @TheTraderGuy 7 ปีที่แล้ว +389

    I cannot tell you how much you have helped me Brad. I am almost done with my Web Development degree, and I feel you have been the difference.

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +139

      That is awesome. That's why I do this

    • @sbsaqi
      @sbsaqi 7 ปีที่แล้ว +6

      i have the same feeling ... it was very simple n easy to go along with the lecture ... :) thums up

    • @NaturalBeautifulHair
      @NaturalBeautifulHair 7 ปีที่แล้ว +8

      I really hope people are donating...even if its just a few dollars.

    • @SirTenenbaum
      @SirTenenbaum 7 ปีที่แล้ว +4

      Where are you doing your Web Development degree?

    • @AtileonVA
      @AtileonVA 6 ปีที่แล้ว

      thanks man :)

  • @labanmureithi8029
    @labanmureithi8029 5 ปีที่แล้ว +68

    I was on the verge of giving up on Git. Lol. Thanks man, I'm now confident with using it.

  • @tfmurphhk
    @tfmurphhk 3 ปีที่แล้ว +24

    Brad, I spent many hours with another TH-cam instructor trying to figure out Git and GitHub and while she covered the basics and I got a general understanding, it was this video that really "taught" me. You go through things in a clear, concise, and well paced format that made it all come together very nicely. I very much appreciate it (I have watched and learned from your videos before and have no idea why I did not start off on Git/GitHub with you in the first place.) Thank you ever so much! I have given you a thumbs up and subscribed and look forward to more of your teachings.

  • @ariolverab
    @ariolverab 4 ปีที่แล้ว +40

    One of the greatest skills from Brad is that he teach basics from understanding and not memorizing. Thanks Brad!

  • @okieinexile
    @okieinexile 5 ปีที่แล้ว +182

    I learned more from you in half an hour than I'd learned in several hours on my own. Thanks.

    • @MKermy
      @MKermy 4 ปีที่แล้ว +3

      please explain wtf commit is

    • @semihozturk9665
      @semihozturk9665 4 ปีที่แล้ว +6

      @@MKermy bro, with commit what you do is to create a new version. For example now i am committing, so a new version is being created. If i do some changes, deleting or adding etc. and commit again, a new version will be created. But i can still look at the older version since its not deleted. I hope its clear?

    • @MKermy
      @MKermy 4 ปีที่แล้ว

      @@semihozturk9665 ohhhhh

    • @viktorkuzmanov3086
      @viktorkuzmanov3086 4 ปีที่แล้ว +5

      Damn you are a slow learner

    • @Manim8
      @Manim8 4 ปีที่แล้ว +1

      @@semihozturk9665 so it's the same as autosaving, except it's manual? Is there any advantages for a single user project over just using an external backup drive, and copying to it every time i save the project?

  • @MrSidMan
    @MrSidMan 5 ปีที่แล้ว +85

    The spectrum of Brads content is very broad in the programming realm.
    You've come a long way Brad, hats off to you my friend.

    • @frncscbñz
      @frncscbñz 4 ปีที่แล้ว +8

      I agree. He's typically giving free tutorials for a whole IT department

  • @arinzeanakor
    @arinzeanakor 7 ปีที่แล้ว +60

    I simply like your tutorial. Clear, straight to the point.... I've referred some of my friends to this git tutorial. Thanks

  • @andreamcarr
    @andreamcarr 3 ปีที่แล้ว +3

    I have watched about 8 vids by other people that claim to be for git beginners, and was completely lost. I really like that you showed the terminal along side your code editor and then github. Finally this all made sense to me. TY so much for keeping it simple. I am hooked on your vids now.

  • @bossbaby.anaisha
    @bossbaby.anaisha 4 ปีที่แล้ว +6

    This is a great tutorial for beginner like myself. I started from very beginning. Installed Git, Atom and created account on GitHub. I was able to create local and remote repository, create new files, clone, push etc. Very worth the time to see this video. Great Job! Thanks!

  • @KC-SHOW
    @KC-SHOW 5 ปีที่แล้ว +62

    This turorial was one of the best tutorial I have gone through as a fresher for Git.
    ..Thanks Man for this wonderful session.

  • @hurol0914
    @hurol0914 6 ปีที่แล้ว +58

    Thanks for taking the time to make this video. I have returned to web development after many, many years away and there's so many new things I need to learn. Your videos have been a tremendous help.

  • @UKnowIfUKnow
    @UKnowIfUKnow 5 ปีที่แล้ว +48

    Thank you sir. I've been ignoring git for way too long and this was exactly what I needed. cheers

    • @scottlewis9108
      @scottlewis9108 4 ปีที่แล้ว

      me too! Very helpful. Thankyou.

  • @justlearn1973
    @justlearn1973 4 ปีที่แล้ว +718

    Git! a Severely complicated version of 'Save As'
    - Confucius

    • @DomodossolaTune
      @DomodossolaTune 4 ปีที่แล้ว +12

      Confusius :P

    • @AbhishekBM
      @AbhishekBM 4 ปีที่แล้ว +16

      **confused Confucius noises**

    • @SaeedAcronia
      @SaeedAcronia 4 ปีที่แล้ว +1

      @@AbhishekBM * kong fu

    • @gomo5628
      @gomo5628 4 ปีที่แล้ว +1

      @@DomodossolaTune Hahaha thats the first word got on my mind too...lol :)

    • @christiancramer3379
      @christiancramer3379 4 ปีที่แล้ว

      made my day

  • @rohansingla7855
    @rohansingla7855 2 ปีที่แล้ว +1

    The best video on GIT basics that I have seen till now.. I was so scared when I dealt with GIT for the first time. But now it all looks so easy

  • @tocobern
    @tocobern 5 ปีที่แล้ว +11

    To be a teacher is to make things simple enough for others to understand easily. You did that perfectly. Keep up the good work Brad

  • @folyrd
    @folyrd 4 ปีที่แล้ว +20

    This video was great! I was struggling with figuring out Git from online articles but I believe this is all a beginner needs. You've shown how basic commands work very intuitively. Thanks.

  • @arslanramay7992
    @arslanramay7992 5 ปีที่แล้ว +12

    This is The Best Git & Github guide I have ever found. Keep up the good work man.

  • @marcelo.trajano
    @marcelo.trajano 4 ปีที่แล้ว

    Traversy you are my compass. I can watch hundreds of tutorials but you are the only one i can understand everything just fine. Thanks a lot!

  • @tiffanygroves3158
    @tiffanygroves3158 10 หลายเดือนก่อน

    Thank you so much for breaking this all down and describing what editor or site needed for each step. This is the most thorough explanation I have come across yet.

  • @leonardocamargo5412
    @leonardocamargo5412 5 ปีที่แล้ว +5

    I am Portuguese(Brazillian). I've learned so much watching your videos. Your voice and english speak is so easy to hear or I am understand english very well xD

  • @RandomSpark
    @RandomSpark 4 ปีที่แล้ว +1257

    people who are watching during the quarantine [stay in, stay safe, and learn a lot ]

    • @henrike16254
      @henrike16254 4 ปีที่แล้ว +6

      just what I thought... gotta study somehow with all unis closed:)

    • @ishanchag6467
      @ishanchag6467 4 ปีที่แล้ว +2

      what else can we do

    • @shubham4516
      @shubham4516 4 ปีที่แล้ว +3

      superb video explaination. landed at the right place

    • @italorohdrigues
      @italorohdrigues 4 ปีที่แล้ว +4

      Let's go quarentine team

    • @ai.201
      @ai.201 4 ปีที่แล้ว +1

      This is so good.

  • @VerzoProductions
    @VerzoProductions 5 ปีที่แล้ว +4

    You're my favourite source of information on TH-cam and Udemy because you're straight to the point, give the essential information and do so in a way that is easy to remember. Keep up the great work!

  • @praveenpoonja95
    @praveenpoonja95 4 ปีที่แล้ว +2

    Seriously I took a right decision watching the video to understand git under the hood. I used to copy paste commands on git bash without knowing the purpose of each command until i found this video. Thank you and keep posting more videos👍🏻

  • @nksenadeera2601
    @nksenadeera2601 4 ปีที่แล้ว

    best tutorial ever.. you did whole 1week lecture without making me boring of it within 10 minutes.

  • @zelalemmekonnen8030
    @zelalemmekonnen8030 5 ปีที่แล้ว +9

    Thank you for this. I love how it was just straight to the point without any fuss. Thank you!

  • @harmoniousT
    @harmoniousT 2 ปีที่แล้ว +7

    I am forever grateful for your insight and knowledge. This tutorial is arguably one of the easiest ones to follow along and allowed me to feel confident enough to start using it. I can't thank you enough Brad!

  • @lauraarchambault7704
    @lauraarchambault7704 4 ปีที่แล้ว +7

    Thank you! I’ve been reading and watching a lot on git. For some reason, I was having a hard time wrapping my head around the basics but after this video, I feel like the whole picture makes sense. Thank yo, thank you, thank you!

  • @the360vision
    @the360vision 4 ปีที่แล้ว

    One year ago I failed to understand GIT. Because of your tutorial today I can use it for my personal projects. I love GIT! Thank you!

  • @hurryshorts
    @hurryshorts 3 ปีที่แล้ว

    No bullshit talking. No showing off of intelligence. Just plain git tutorial that everybody understands. Great work.

  • @KO-vz5rd
    @KO-vz5rd 4 ปีที่แล้ว +10

    Thanks for this wonderful tutorial! I really liked the way you demonstrated GIT functionalities that are crucial for us to get started, creating and using some files. I followed every single steps, and now feel much more confident with Github!

  • @robmedlock2836
    @robmedlock2836 4 ปีที่แล้ว +4

    I've been trying to get my head around git using visual studio and devops and was finding everything terrifyingly vague, after learning more about the basics and using the command line I feel much more comfortable, I'm under no illusion that I am an expert and am still somewhat cautious but I am not as scared as I was or confused over what is really going on at each step, thanks a lot!!

  • @SajadJalilian
    @SajadJalilian 5 ปีที่แล้ว +5

    thank you. this was simplest and most clear video i found on youtube about git

  • @linhphanthi5871
    @linhphanthi5871 2 ปีที่แล้ว +1

    I'd been watching so many git video for beginers but only when I find this video did I can have my fist commit to my repo, thank Traversy Media very much

  • @saviouremmanuel3608
    @saviouremmanuel3608 2 ปีที่แล้ว

    This is so much a life saver. I have scoured through the web searching for help, I almost gave up on it since all I want to do is incorporate KiCad with Git. I reluctantly clicked on this video and boom! I can smile so heavily. Thanks Brad! God bless you from Nigeria! :)

  • @Sachinreddy001
    @Sachinreddy001 7 ปีที่แล้ว +54

    Brad you are the best !
    Thank you so much for sharing your knowledge with us :)

  • @Pymmusic
    @Pymmusic 2 ปีที่แล้ว +3

    Thank you very much for this tutorial!
    I've followed your beautiful course in Udemy on Vanilla Javascript and I have to say that
    you have the gift to explain all clearly.
    Thank you again!
    Paolo Maria Guardiani

  • @0thImpact
    @0thImpact 4 ปีที่แล้ว +10

    For those who may be finding this video after October 2020 just know that there was a patch wherein 'master' branch has been renamed to 'main' going forward! Hopefully this helps somebody.

    • @kavon9748
      @kavon9748 3 ปีที่แล้ว

      Me! Tanks for that confirmation. This is what I thought and paste in Git. But I have an error message telling me "failed to push some refs to 'github.com....". I did every step though, I must have missed something...

  • @sorubro2193
    @sorubro2193 4 ปีที่แล้ว

    The only, THE ONLY Git tutorial that showed me that I can right click and git on a folder, when I have money I'll buy your react course no matter what, cheers from chile.

  • @zeeshanhaider1341
    @zeeshanhaider1341 4 ปีที่แล้ว +1

    What a tutorial !
    I was working on my local machine and each time I was uploading my project to server using FTP. It was taking too long and boring for me. Then I heard about "Git". I found this tutorial and decided to invest my 35 minutes to learn.
    I can't share my excitement. It took me beyond my expectations.
    God Bless you.
    Love from Pakistan :)

  • @rayc3103
    @rayc3103 7 ปีที่แล้ว +684

    Mark Wahlberg sure knows a lot about Git

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +106

      lol, I get that a lot. Must be a Mass thing

    • @slickd286
      @slickd286 6 ปีที่แล้ว +35

      hahaha I can't unhear it now

    • @hcgaron
      @hcgaron 6 ปีที่แล้ว +2

      lol same.

    • @Kill4Dill
      @Kill4Dill 6 ปีที่แล้ว +4

      I can't not hear it now >.

    • @Skillthrive
      @Skillthrive 6 ปีที่แล้ว +26

      "Say hi to ya mother for me, OK?"

  • @geraldmcn3884
    @geraldmcn3884 4 ปีที่แล้ว +3

    What a great teacher Brad is, clear instructions with examples what more could you ask for in a lesson.

  • @amerolla
    @amerolla 5 ปีที่แล้ว +5

    Excellent introduction! The best of several tutorials I've used.

  • @mariuszjanowski2190
    @mariuszjanowski2190 2 ปีที่แล้ว

    That is most useful tutorial I've ever seen. I came back after 2 years beacuse here you can find bunch of useful information about GIT.

  • @nikolajacques5982
    @nikolajacques5982 ปีที่แล้ว

    Aside from 'git log' and 'git revert', this is pretty much all I've used in the past 3 years or so working on learning projects. Great summary!

  • @KingJellyfishII
    @KingJellyfishII 5 ปีที่แล้ว +435

    "I'm going to go ahead and GIT started"

    • @21335186z
      @21335186z 5 ปีที่แล้ว +9

      You git XD

    • @deeneyugn4824
      @deeneyugn4824 5 ปีที่แล้ว +10

      Well, git on it.

    • @KingJellyfishII
      @KingJellyfishII 5 ปีที่แล้ว +2

      @@deeneyugn4824 I'll just git home first and git my computer out of my bag and git on with it

    • @bloodface24
      @bloodface24 5 ปีที่แล้ว +8

      HA! I Git it.

    • @eponai
      @eponai 4 ปีที่แล้ว +2

      pitter patter, let's git at 'er!

  • @2013bradleyp
    @2013bradleyp 4 ปีที่แล้ว +218

    *error sound*
    *error sound*
    Whispers “oh Jesus”
    That’s real life

  • @da80
    @da80 7 ปีที่แล้ว +5

    this is the best git tutorial I've ever watched!!!

  • @memo-qu4oi
    @memo-qu4oi 2 ปีที่แล้ว

    I just wanted to say you are my survivor :) Without your video, I would not learn how to work on Git and GitHub. I wish you could make more videos about how to work on git and GitHub. Thanks a lot for sharing with us

  • @karsite4453
    @karsite4453 3 ปีที่แล้ว

    you are a fantastic teacher you can explain complex concepts as simple as drinking a glass of water, love you man

  • @brianressler569
    @brianressler569 ปีที่แล้ว +3

    Even though this video is years old all of these concepts still hold true and if you have some foundational knowledge you can definitely acheive everything shown here. This was great man, short and sweet and it gives you all the essentials. I just got into a job that involves creating content on github and this part of it I had some experience with but mostly with github desktop. I can definitely see the benefit of doing it this way as you get a more fundamental understanding of what is happening.

  • @curios_bot
    @curios_bot 5 ปีที่แล้ว +6

    Now you made my life easy bro!! Thanks for this tutorial 👏

  • @thyagtubes
    @thyagtubes 5 ปีที่แล้ว +49

    8:56 for demo (skip intro and installation)

  • @hasnainmalick8888
    @hasnainmalick8888 2 ปีที่แล้ว

    Traversy you are a great man. I have learnt many things from your channel I have no words to explain how can I thank you.

  • @sotumodo4317
    @sotumodo4317 2 ปีที่แล้ว +1

    I can not thank you enough for this very helpful tutorial. I created a github account over a year ago but I had no idea how to use it and so it's been sitting there collecting dust. But now thanks to your video, I've created my first repository and I have some idea of how to use it. Thank you so much!

  • @atticsolutions1476
    @atticsolutions1476 5 ปีที่แล้ว +4

    Great tutorial as always. On the point for refresh and everything needed covered!

  • @ziklover1
    @ziklover1 3 ปีที่แล้ว +25

    For people watching this in 2021, master is now main. Don't be alarmed by git push -u origin main

    • @amalldekan1432
      @amalldekan1432 3 ปีที่แล้ว +3

      thanks, was the 'master' changed to 'main' for 'political correctness' reasons?

    • @ziklover1
      @ziklover1 3 ปีที่แล้ว +2

      @@amalldekan1432 I believe so, yes

    • @awaismajeed6254
      @awaismajeed6254 3 ปีที่แล้ว +1

      @@amalldekan1432 yes, in support of black community.

    • @micwag367
      @micwag367 3 ปีที่แล้ว +2

      Tried this tonight. Main failed for me even though that is what is listed in the steps. Then tried master and it worked.

  • @busyrand
    @busyrand 7 ปีที่แล้ว +4

    Awesome! Thank you for the Beginner Tutorials. You're the best!

  • @AbdulmalikHamid
    @AbdulmalikHamid 4 ปีที่แล้ว

    your tutorials are by far the best on TH-cam.

  • @anupamthati3179
    @anupamthati3179 4 ปีที่แล้ว

    Simple to understand for a layman who have zero knowledge about github in just 30 mins. Kudos bro!!

  • @samantamrakar3809
    @samantamrakar3809 3 ปีที่แล้ว +14

    "Git is a Virgin Control System"
    I feel personally attacked.

  • @MegaxAT
    @MegaxAT 5 ปีที่แล้ว +26

    2019 and still awesome

    • @paristar3079
      @paristar3079 4 ปีที่แล้ว +6

      2020 still awesome

    • @filiptrifunovic7763
      @filiptrifunovic7763 4 ปีที่แล้ว +5

      2021 still awesome

    • @_.Mustafa._
      @_.Mustafa._ 4 ปีที่แล้ว +1

      2022 and still awesome

    • @AsifAkhtar20
      @AsifAkhtar20 3 ปีที่แล้ว +1

      @@filiptrifunovic7763 well, it's 2021 now

  • @Spiderman-gg8dg
    @Spiderman-gg8dg 5 ปีที่แล้ว +8

    My employers be like how tf did you learn git in a short time, it's all thanks to you Brad Traversy!

  • @039saranshvashisht8
    @039saranshvashisht8 11 หลายเดือนก่อน +2

    Even after 6 years it's still great.

  • @aryany5737
    @aryany5737 4 ปีที่แล้ว

    you are a life saver for people who want to get started with programming stuff,really i have take your few course and became a big fan of yours

  • @Thaidakarium
    @Thaidakarium 7 ปีที่แล้ว +18

    Easy to understand, and this isn't my native language, you're the best c:

  • @greenwik
    @greenwik 4 ปีที่แล้ว +9

    "Oh man, this is slow!" :D Nice tutorial, thanks.

  • @arindam1249
    @arindam1249 4 ปีที่แล้ว +154

    Who else is learning during Quarantine?

    • @titusmkandawire5661
      @titusmkandawire5661 4 ปีที่แล้ว +1

      I am, learning shouldn't stop.

    • @flik221
      @flik221 4 ปีที่แล้ว +3

      no quarantine, but on lockdown. hope you feel better soon!

    • @DanteHellDrive
      @DanteHellDrive 4 ปีที่แล้ว +2

      no iam not learning but just trying not to distract myself to suicidal thoughts, fair enough, iam bestowed and enlightened

    • @kristiyanivanov7414
      @kristiyanivanov7414 4 ปีที่แล้ว

      I'm suicidal too

    • @vipulbhardwaj1312
      @vipulbhardwaj1312 4 ปีที่แล้ว +1

      @@DanteHellDrive Heyy yes you are.. don't let negative thoughts sneak in! God bless.. you can talk

  • @nltt3191
    @nltt3191 3 ปีที่แล้ว

    I had go through 10+ tutorials, and this is the most clear and esay titorial of github for beginners !

  • @sarthakjha2192
    @sarthakjha2192 2 ปีที่แล้ว

    I was going thru some other tutorials, but this was the best, straight to the point, no bs, simply awesome

  • @hargovind2776
    @hargovind2776 7 ปีที่แล้ว +4

    Silmply best! All things explained very well. Thank you.

  • @dylanaltamirano
    @dylanaltamirano 7 ปีที่แล้ว +5

    This is good material! a great place to start with git

  • @JeffCompton
    @JeffCompton 7 ปีที่แล้ว +6

    Thank you for putting this together.

  • @JohnDoe-zw5mk
    @JohnDoe-zw5mk 4 ปีที่แล้ว

    Dude you're a Rockstar, no one has ever made Git so easy to learn for me before

  • @rickotap3859
    @rickotap3859 4 ปีที่แล้ว +1

    3:00 to 4:40 is extremly useful for someone who just needs a quick short refresher on the important commands. And then branches, exactly what i needed. thanks alot.

  • @jeffdevries3534
    @jeffdevries3534 7 ปีที่แล้ว +6

    Thank you! I think I actually understand it now.

  • @carsonschmidt3995
    @carsonschmidt3995 5 ปีที่แล้ว +5

    Very Straightforward.

  • @Albertmars32
    @Albertmars32 7 ปีที่แล้ว +39

    nice but i think you forgot to explain/show the most important part about git, how can i go back in time at a certain checkpoint and start the project at that time...

    • @GakisStylianos
      @GakisStylianos 6 ปีที่แล้ว

      @Abdelwahab Bounasser When using this on a cloned project I can not see any older versions, is that intended? If so where are those saved versions actually saved then, just curious.

  • @DiegoJGorzynski
    @DiegoJGorzynski 3 ปีที่แล้ว

    Man I had just watched a 1h video on this, and I completely hated how overly complicated things are in git and github, now just by watching you do it, I'm up and running. Thanks a lot!

  • @ALEET
    @ALEET 3 ปีที่แล้ว +1

    You have the classic tutorial voice. I love it.

  • @alexci3563
    @alexci3563 7 ปีที่แล้ว +5

    these are the very basic thing of Git commands,which I am now very familiar with, anyway great video for beginners

  • @DracaliaRay
    @DracaliaRay ปีที่แล้ว +3

    github removed their support for password logins to push. Do you have any newer videos explaining how to push with an SSH key or one of the other alternatives? I still don't really understand what that is and am a bit frustrated. :(

    • @casperayesh1
      @casperayesh1 4 หลายเดือนก่อน

      just replace 'main' with 'master' and it wont req anylogin
      like this: git push -u origin master

  • @aravindkumarreddy4395
    @aravindkumarreddy4395 7 ปีที่แล้ว +4

    amazing tutorial

  • @savvy9431
    @savvy9431 3 ปีที่แล้ว

    I was so confused about git ever since I started learning about it. I tried to learn it from my friends, colleagues and it just confused me more. I almost gave up too. This crash course is a lifesaver for beginners. Tysm for uploading this.

  • @DmanDaks
    @DmanDaks 4 ปีที่แล้ว +2

    This is the best intro to Git that I have come across. Thanks, my dude.

  • @tc40390
    @tc40390 6 ปีที่แล้ว +8

    I noticed that when you pushed to GitHub and cloned the repo, git didn't use the .gitignore file because the log.txt and the directory ( forgot if it was dir1 or dir2) are available from github. Why is that?

    • @paulbrugger9610
      @paulbrugger9610 4 ปีที่แล้ว

      Git won't push empty folders.....

  • @tyronestephen4263
    @tyronestephen4263 6 ปีที่แล้ว +5

    Brief list of all commands used in the video credits: @Traversy Media
    git init //initializes a repository
    git add // adds files to the staging area
    git status // check status of working tree
    git commit // commit changes to an index
    git push // pushes to a remote repository
    git pull // pull changes from a remote repository
    git clone // copies a remote repository to current folder
    git add filename.txt // adds filename.txt to staging area
    git rm --cached filename.txt // removes filename.txt from the staging area
    git add *.txt // adds all .txt to the staging area
    git add . // adds all files to the staging area
    git commit -m 'changed a file' // adds commit message
    // can also create .gitignore file and add filename.txt to it to ignore filename.txt from version control
    //branches - working separately from main code branches
    git branch test // creates a branch called test
    git checkout test // switches to test branch
    // all commits will now be made to the test branch
    git checkout master // switches back to master branch
    git merge test // merges test branch to current branch (master)

  • @Tyrfing42
    @Tyrfing42 4 ปีที่แล้ว +4

    When I go through the Git Setup it asks to select an editor, and says the default VIM editor is not recommended. Which one should I choose?

    • @Mal501
      @Mal501 4 ปีที่แล้ว +2

      Whatever is your editor of choice. Notepad++ is great, Visual Studio Code also. And lots more.
      And this coming from an old unix hand who LOVED vi (original VIM).

  • @sanjaymishra6868
    @sanjaymishra6868 3 ปีที่แล้ว

    You summarized all the basic concepts in just 32 min. kudos to you man and thanks for making wonderful video.

  • @eastenwest4812
    @eastenwest4812 4 ปีที่แล้ว

    This video is very user-friendly. It answered all of my noob questions and was easy to follow along with in the process of actually typing, creating and connecting with Git, GitHub and VS.

  • @CODINGISEASY
    @CODINGISEASY 5 ปีที่แล้ว +5

    *I have a video on getting started with git and Laravel to push your first project*

  • @cestlextase
    @cestlextase 4 ปีที่แล้ว +31

    9:15 You will see the virgin you have; yours may be different.
    LUL

    • @falcon0din
      @falcon0din 4 ปีที่แล้ว +1

      I scrolled down looking for this comment

  • @velimirtopolovacki8956
    @velimirtopolovacki8956 7 ปีที่แล้ว +53

    "Oh Jesus" @ 19:01... so funny... xD

    • @JohnnyRottenest
      @JohnnyRottenest 6 ปีที่แล้ว +1

      I fast-forwarded just to hear it. Did not disappoint.

    • @Hellokittyenby
      @Hellokittyenby 5 ปีที่แล้ว +3

      i was looking in the comments if someone pointed that out. XD

    • @bogdanmarcu1982
      @bogdanmarcu1982 5 ปีที่แล้ว +1

      @@Hellokittyenby Same here :)))

    • @asoteico9528
      @asoteico9528 4 ปีที่แล้ว

      get a life Velimir...!!!

  • @oni1ecram123
    @oni1ecram123 3 ปีที่แล้ว

    Almost the third time viewing this and the more I understand without getting bored......You deserve my SUB!!!

  • @Atisbrah
    @Atisbrah ปีที่แล้ว

    This video is the epitome of git tutorials. Thank you so much.

  • @CryptoRoast_0
    @CryptoRoast_0 5 ปีที่แล้ว +8

    "im on a new windows installation",
    i'll let you off for not removing that cortana bar haha.

  • @Viralplace
    @Viralplace 7 ปีที่แล้ว +11

    Do you use Heroku? So you could make a video for beginner heroku/php

  • @baarif2010
    @baarif2010 7 ปีที่แล้ว +13

    hi, you added dir2 in the gitignore . why its there in remote repository?

    • @MrKikedominguez
      @MrKikedominguez 7 ปีที่แล้ว

      I have the same question. Hey Brad, can you help us out?

    • @joshuarowe8410
      @joshuarowe8410 7 ปีที่แล้ว

      Same question, yeah.

    • @ankitaaarya
      @ankitaaarya 7 ปีที่แล้ว

      i see that too...

    • @NenadStrainovic
      @NenadStrainovic 6 ปีที่แล้ว +17

      I've noticed that too. Once you track some file, .gitignore will not exclude it. Brad made a mistake when he created new branch without committing current staged .gitignore and other files. His new "login" branch didn't know anything about .gitignore and that's why he could commit .gitignored files. Once he merged "login" with master, all files were there. It's really strange and confusing... I hope I helped a bit.

  • @zafarhussain8273
    @zafarhussain8273 3 ปีที่แล้ว

    This is the reason Brad is my favorite ideal developer , instructor . He dont waste time on nonsense only usefull thats admirable.

  • @thefinder7976
    @thefinder7976 4 ปีที่แล้ว

    One of the best Honest and wonder person he is, his teaching is straight forward on track up-to-date with current market practices. and he just be what he is. I wish you to have outstanding opportunities in your life. Thank you for being on our side. we all are happy to have you in our family. Love from Pakistan.
    Regards: Mehboob