Git & GitHub Crash Course For Beginners

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 2,5 тыс.

  • @prodengineer7164
    @prodengineer7164 4 года назад +1313

    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

  • @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.

  • @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.

  • @tfmurphhk
    @tfmurphhk 3 года назад +24

    Brad, I spent many hours with another RUclips 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.

  • @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

  • @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!

  • @ariolverab
    @ariolverab 4 года назад +40

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

  • @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👍🏻

  • @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

  • @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.

  • @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 :)

  • @rohansingla7855
    @rohansingla7855 3 года назад +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

  • @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

  • @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

  • @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

  • @linhphanthi5871
    @linhphanthi5871 3 года назад +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! :)

  • @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.

  • @RandomSpark
    @RandomSpark 4 года назад +1256

    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.

  • @arslanramay7992
    @arslanramay7992 5 лет назад +12

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

  • @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!

  • @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.

  • @VerzoProductions
    @VerzoProductions 5 лет назад +4

    You're my favourite source of information on RUclips 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!

  • @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

  • @thyagtubes
    @thyagtubes 6 лет назад +48

    8:56 for demo (skip intro and installation)

  • @nksenadeera2601
    @nksenadeera2601 4 года назад

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

  • @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.

  • @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!

  • @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!

  • @robmedlock2836
    @robmedlock2836 5 лет назад +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!!

  • @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!

  • @hurryshorts
    @hurryshorts 3 года назад

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

  • @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

  • @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!

  • @SajadJalilian
    @SajadJalilian 5 лет назад +5

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

  • @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!

  • @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.

  • @zelalemmekonnen8030
    @zelalemmekonnen8030 5 лет назад +9

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

  • @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...

  • @rayc3103
    @rayc3103 7 лет назад +682

    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?"

  • @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.

  • @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!

  • @da80
    @da80 7 лет назад +5

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

  • @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.

  • @Sachinreddy001
    @Sachinreddy001 8 лет назад +54

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

  • @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!

  • @anupamthati3179
    @anupamthati3179 4 года назад

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

  • @KingJellyfishII
    @KingJellyfishII 5 лет назад +434

    "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 5 лет назад +2

      pitter patter, let's git at 'er!

  • @2013bradleyp
    @2013bradleyp 4 года назад +218

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

  • @ziklover1
    @ziklover1 4 года назад +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.

  • @nltt3191
    @nltt3191 3 года назад

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

  • @zafarhussain8273
    @zafarhussain8273 3 года назад

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

  • @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.

  • @curios_bot
    @curios_bot 5 лет назад +6

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

  • @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

  • @greenwik
    @greenwik 4 года назад +9

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

  • @Thaidakarium
    @Thaidakarium 7 лет назад +18

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

  • @samantamrakar3809
    @samantamrakar3809 3 года назад +14

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

  • @tiffanygroves3158
    @tiffanygroves3158 Год назад

    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.

  • @karsite4453
    @karsite4453 3 года назад

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

  • @atticsolutions1476
    @atticsolutions1476 5 лет назад +4

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

  • @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!

  • @busyrand
    @busyrand 7 лет назад +4

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

  • @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

  • @BadalKumar-pi7ud
    @BadalKumar-pi7ud 2 года назад

    This tutorial is more than 4 years old. But still quite relevant and the way Brad makes "me" understand, no one can !! Thank you Brad Guru Ji. 'pranaam' from India _/\_

  • @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

  • @MegaxAT
    @MegaxAT 5 лет назад +26

    2019 and still awesome

  • @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.

  • @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

  • @SAL73VFX
    @SAL73VFX 2 года назад

    Because the way you explain things is the reason I bought 2 tutorials of yours on Udemy Platform. I didn´t understand how Git works until I checked this video. Thanks a lot :D

  • @dylanaltamirano
    @dylanaltamirano 7 лет назад +5

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

  • @jeffdevries3534
    @jeffdevries3534 7 лет назад +6

    Thank you! I think I actually understand it now.

  • @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

  • @JohnDoe-zw5mk
    @JohnDoe-zw5mk 4 года назад

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

  • @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.

  • @hargovind2776
    @hargovind2776 7 лет назад +4

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

  • @JeffCompton
    @JeffCompton 7 лет назад +6

    Thank you for putting this together.

  • @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?

  • @hasnainmalick8888
    @hasnainmalick8888 3 года назад

    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.

  • @arikedada
    @arikedada 3 года назад

    Thank you so much this is the best so far, I have been struggling with git for months and after watching this I feel like a pro already

  • @carsonschmidt3995
    @carsonschmidt3995 6 лет назад +5

    Very Straightforward.

  • @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 5 месяцев назад

      just replace 'main' with 'master' and it wont req anylogin
      like this: git push -u origin 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).

  • @masoudasadat5679
    @masoudasadat5679 2 года назад

    I have nothing to say but I LOVE YOU Brad! Since 2018 I have started Computer Science till I get involved in software projects you saved me (:

  • @DmanDaks
    @DmanDaks 4 года назад +2

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

  • @CODINGISEASY
    @CODINGISEASY 5 лет назад +5

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

  • @aravindkumarreddy4395
    @aravindkumarreddy4395 7 лет назад +4

    amazing tutorial

  • @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.

  • @zippo269
    @zippo269 3 года назад

    thank you soo much, i was pulling my hair out trying to figure out what git was and how to use git, this has helped me soo much

  • @Atisbrah
    @Atisbrah Год назад

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

  • @tyronestephen4263
    @tyronestephen4263 7 лет назад +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)

  • @CryptoRoast_0
    @CryptoRoast_0 6 лет назад +8

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

  • @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

  • @sanjaymishra6868
    @sanjaymishra6868 4 года назад

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

  • @039saranshvashisht8
    @039saranshvashisht8 Год назад +2

    Even after 6 years it's still great.

  • @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...!!!