CS50W - Lecture 1 - Git

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

ความคิดเห็น • 210

  • @hust681
    @hust681 2 ปีที่แล้ว +194

    the content, the flow, the voice, the charisma .. everything is perfect! we are living in a time of getting the best education. thanks Brian, Thanks Harvard!

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

    I have tried understanding GIT and Github from so many video lectures in the past but this is the first time that I feel so confident.

  • @syeda.k.2934
    @syeda.k.2934 4 ปีที่แล้ว +435

    lets take a moment to appreciate that these videos are not monetized .

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

      yes

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

      but now google change everything

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

      Thanks to their 40Billion $ endowment fund

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

      Pretty sure they're already getting paid lmao

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

      Let's not. Harvard has one of the most corrupt "admission" systems. Anyone connected to establishment can buy their seat. Want examples?

  • @YasuOsatoku
    @YasuOsatoku 2 หลายเดือนก่อน +2

    Brian's Git video is by far the best I've ever seen on TH-cam.

  • @darkooo94
    @darkooo94 ปีที่แล้ว +30

    Amazing course. It's awesome that Brian, being so young, keeps up with the quality level of David's lectures. Thanks Brian, thanks CS50!

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

    harvard should put all its cs classes youtube ... it would be a great contribution to the world.

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

      sadly, that will be the end of college as a business.

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

      but totally agree for your opinion

    • @freeeagle6074
      @freeeagle6074 2 ปีที่แล้ว +9

      MIT has done that.

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

      @@freeeagle6074 Really???

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

      @@clovemao329 sadly? College doesn’t need to exist as a business in its current form

  • @sagasam1
    @sagasam1 2 ปีที่แล้ว +12

    Meeeeeen!! You are a born teacher! In all my life, I have not seen a facilitator of your type! fast-paced with concepts well-introduced before providing demos. I bet I'll watch the whole series 10 times over. Thank you very much.

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

    I’ve been trying to learn for two weeks I’m going to start a boot camp January and he’s the only person I can understand
    I was thinking of not going forward but after hearing him teach I now know I can do it thanks man

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

    If you get stuck with git log, as i did, press q for quit.

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

    This whole course is so practical and to the point, thanks a lot!

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

    This was great Professor Brian! Finally wrapped my head around Git Version Control!

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

    This is the best git explanation I've came across. Thank you CS50! ❤️

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

    The best explanation of fundamentals of git that explained. I totally watched different tutorials and still confused to it. but NOW i am confident about the fundamentals of Git. Thank you Harvard!

  • @MrCloudTel
    @MrCloudTel หลายเดือนก่อน +2

    This is awesome, straight to the main point

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

    If your terminal commands are not working then maybe that is because you need to install GIT to your machine first. It is briefly mentioned but not demonstrated so pretty easy to miss.
    Furthermore, some of the command line commands are mac only so you may need to google for your OS' equivalent of them - for example 'ls' doesn't work in command prompt (but does in powershell) and you should use 'dir' instead. ' Touch' is also not available in Windows command prompt, but there are alternatives you will need to google for (or simply create the files directly in your IDE).
    Very weird they have left this information out in what is otherwise a very good series - it may not be obvious to people who've never used GIT or the terminal before; aka the majority of the viewers here I imagine.
    To be quite honest - if you're relatively new to all of this and just want a good introduction to web programming and are learning this on your own -> please just skip this GIT lecture.
    Sure, people will argue that this is mandatory material for developers, but I feel most people / the target audience won't be needing this skill just yet if learning solo.
    Feel free to revisit this lecture later and proceed to lecture 2.
    If you do intend to install GIT and follow along then it's very likely you'll have to google around trying to get it to work because Github Desktop might not install correctly (that is; set the PATH variables properly) and you'll probably want to look for 'standalone GIT' and install that instead.

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

      I really have to thank you since I was struggling with the command prompt and every single command he typed, didn't work on my machine

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

      7:33

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

      @@Adib759 You are absolutely correct, I missed that. I have edited my comment slightly - I still think for most people the mention is too fast because GIT may not install correctly for some people and can be quite a hassle. The remarks in regards to commands like 'ls' and 'touch' still hold true. Thanks for pointing that out.

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

      Or rather you can install ubuntu terminal (or any Linux terminal) on windows and all of a sudden all the command will work

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

      @@husseinkassem494 True, but then I would simply suggest using Git Bash, which if you're following along with this lecture will probably be available to you already and works well with the provided commands too.
      I'm making the assumption that a lot of viewers are not looking to introduce yet another application / some unix shell (or buy a mac :) ) and are running windows 10.
      Nothing shown here can't be done with good ol' windows and a few workarounds though.

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

    All this time I'm thinking how much work it took to make this lecture!!!! It is so clean and well structured

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

    Amazing content. I see myself already as a developer after 10 years in the lawn mowing industry. Believe in yourself

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

    I've never seen a Git guide as clear as this video

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

    This course is a real treasure

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

    great class, I knew nothing and now i have a clear picture on GIT and Github. Thanks!!! now heading to the next video

  • @bobur_uj
    @bobur_uj 3 หลายเดือนก่อน

    Best GIT tutorial I've ever seen

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

    really , good explain for git and github , good instructor Brian and good examples

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

    You are amazing Brian. Thanks Harvard for such an amazing course ❤️ You guys are really changing the world.....
    Best GIT tutorial I've ever seen

  • @davidmwangi2767
    @davidmwangi2767 7 หลายเดือนก่อน

    Very straight to point and user friendly

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

    just finished . thank you Brian . I reall your appriciate your teaching method.
    really my confusion about github has gone. still on the way .

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

    This is a teacher. Thank you, Thank you

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

    Thank you for sharing with us free contents like this! 🥰

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

    This is the first git tutorial i understand. Thanks you so much🙏👌💯

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

    Brian, respect! You are great!

  • @Pesto-64
    @Pesto-64 3 ปีที่แล้ว +2

    These are really great educators. Thank you for doing these videos!

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

    best git &github video i have ever seen before.

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

    absolutely golden content. Thanks!

  • @nisha.najihah
    @nisha.najihah 3 ปีที่แล้ว +3

    Awesome, thank you for the great lecture, Brian. Simple and straightforward thank you very much and it so easy now to understand and picture what it does. Will explore more on this.

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

    Thanks Brian, that was awesome!

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

    Hope every university's lectures would be like this !

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

    💻💻💻💻 Amazing Lecture 💻💻💻💻

  • @GauravYadav-ho7pz
    @GauravYadav-ho7pz 3 ปีที่แล้ว

    Thanks a lot for making these courses free 🥺❤️🙏

  • @dontwannabefound
    @dontwannabefound 8 หลายเดือนก่อน

    this guy is too good - make him a full time teaching professor - he is just too good

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

    finally i understnd Git and GitHub, thanks Havard team!

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

    This kid is way too smart

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

    Great introduction to Git

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

    Great explanation of Git and GitHub, thanks Brain!

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

    Very thorough and nicely explained.

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

    i don't think there is a better video on the internet, well crafted and presented💯

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

    Amazing Brian! Thank you so much

  • @Samuelson-ts1bz
    @Samuelson-ts1bz 4 หลายเดือนก่อน

    Thanks Brian ❤🎉

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

    Realy good stuff here. He is a good speaker as well!

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

    Best explanation yet!

  • @ribkan4759
    @ribkan4759 6 หลายเดือนก่อน +1

    6:00
    14:28

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

    Brian wonderful and to the point lecture! Thank you.

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

    This is amazing!!!!!!!!!! Thank you very much!!! Now I understand the essence of git and the way I can employ it!

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

    This was seamless. Thanks!

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

    why am i trying to use the git clone on my Windows Powershell and getting errors? I already have GitHub installed into my computer

    • @andrean40
      @andrean40 10 หลายเดือนก่อน +1

      git is not the same as Github...

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

    clear and easy to understand. thank you

  • @包异凡
    @包异凡 2 ปีที่แล้ว

    I like theses echeos
    feels like im there listening

  • @marie-mary564
    @marie-mary564 7 หลายเดือนก่อน

    Great teacher😮

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

    thank you Brian!

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

    Beautifully explained.. 🤩 Thank you so much..

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

    anyone being prompted for username and password for github when using git to clone the repository? The terminal locks me out when i try to input my github password....

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

      In the linux terminal when you type passwords they don't appear but they're still there, just type it correctly and press enter

  • @chigullarevujaimanojreddy697
    @chigullarevujaimanojreddy697 10 หลายเดือนก่อน +1

    Apparent improvement over your past lectures on the same topic. we appreciate that, sir.

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

    da best professor!!

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

    This guys is AMAZING!!!

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

    thank you Brian ❤❤❤

  • @user-pe9qg3hg3k
    @user-pe9qg3hg3k 3 ปีที่แล้ว

    I

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

    And what about the "staging" step? Is it not necessary anymore?

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

    This is so practical. Thank you

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

    I love this man

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

    We can open the html file with start command in powershell on Windows.

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

    Few of you may face problem at 9:30 in git clone stuff probably.
    If you faced it then you must haven't installed git.
    And after this locate to cd One drive and then you will find whichever folder you want it to place and then create by touch hello.html & git clone link.

  • @madefromjames
    @madefromjames 7 หลายเดือนก่อน

    Thanks Harvard!

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

    An excellent explanation, but NOT entirely up-to-date as you currently need RSA key authentication to access the repository from the command line.

  • @فاطمهباغنده
    @فاطمهباغنده ปีที่แล้ว +2

    where is this terminal window in computer?

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

    Wow, Thank you so much

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

    What if we're using other code editor like ATOM. How do we run the commands of github on that ?

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

      you can do that exactly the same way except the terminal will be running in your ide.
      I use VS Code and as soon as you run your program you can use the terminal in the IDE to perform all the tasks

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

      You can use your system terminal as well

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

    Actually i have a complaint about the fact that when i installed git and used it, apart from the commands everything was freaking different it was a pain in the ass to use "git commit, git push" and now i have a hatred against git :)

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

      Same I keep getting errors not too sure what I am doing wrong :/

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

      @@jayc5332 dude i had to use a lot of different commans i don't even remember, i think i changed it to use ssh instead of password then i had another problem, and it seems like i have to tell git which repo I'm using whenever i try to git push

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

    Thank You Very Much, Amazinggg

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

    Wooow.. thank you great explanation.

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

    This presentation was done with a Mac book, how do I find my terminal using Windows.

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

    You the best. . .

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

    git push doesn't do anything literally, I'm stuck there
    I'm on windows

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

    You are a livesaver

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

    well done.

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

    Good evening everyone, I need help with the Git program, I can't do the exercises that Brian explains from the beginning. my pc has windows

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

    I do not have the zsh panel. I use windows, so what is the alternative to it and the corresponding commands to zsh such as git or open

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

      I highly recommend using WSL (Windows Subsystem for Linux). It is built in to Windows. Just click the search button and search for "WSL" and the setting page should come up as the first result. Just click through the dialogue and enable it. It will download an image of any Linux OS you want from the MS Store (I recommend just using Ubuntu). Then you can just search 'WSL' and the WSL terminal should be the first result. You open that and you have a Linux terminal environment which is almost the same as the Mac the instructor is using.

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

    Thanks a lot .. That was se helpful!

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

    Thank you so much! this was really helpfull

  • @anilassnani6985
    @anilassnani6985 24 วันที่ผ่านมา

    what other way we can do all this without using the cmd prompt?

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

    very good

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

    Cristal clear

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

    thanks a lot

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

    34:46 Git reset
    49:13 GitHub pages

  •  3 ปีที่แล้ว

    If you want to enjoy this lecture, git speaker 🔊 and commit your Bluetooth

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

    thanks veryyy mach 👌👌

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

    this dude is so fucking smart

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

      this is his least smart video

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

    Interesting fact: Brian's github pages website is currently working with the same content :)

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

    I am unable to download Sass & Git on my Windows 7 PC. Please help me.

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

    what if it's the other way round? I have a project written in VSCode on my computer and I want to push it to Git Hub for the very first time (no even repository yet)? How do I do that?

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

      I think you'll create a repo on github, then clone that, then copy all your local files into that specific cloned folder then commit -am them and then push them......

  • @The_Night_Panda
    @The_Night_Panda 5 หลายเดือนก่อน

    None of the commands seem to work even after several hours of trying to install git the right way. I only get errors that vsc doesnt recocnise git.

    • @blackholesun4942
      @blackholesun4942 3 หลายเดือนก่อน

      Did you find solution?

    • @The_Night_Panda
      @The_Night_Panda 3 หลายเดือนก่อน

      @@blackholesun4942 it’s a while ago, but yeah, I think just restarting the computer was the thing that did the trick

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

    code . command dint work on my terminal. Google a few things tried it. it is convenient to open the text editor from within terminal so please suggest ...

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

      That's the way of Launching Visual Studio Code on current directory, make sure you have Visual Studio Code installed and added to Your Enviroment Variables.
      And one more thing Visual Studio and Visual Studio Code are two different things, What you want is Visual Studio Code.

  • @not_amanullah
    @not_amanullah 7 หลายเดือนก่อน

    thanks ❤