Это видео недоступно.
Сожалеем об этом.

Git And GitHub in ~30 Minutes

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • ⭐️ Join KodeKloud Engineer for free and upgrade your DevOps skills: bit.ly/3uywWm3
    Welcome back to this Tech With Tim Git/GitHub tutorial! In this video, I'll be showing you everything you need to know about Git/GitHub to get started as a beginner, and as fast as possible. I'll talk about how Git and GitHub work, the differences between them, and what these commands actually do. This includes local repositories, tracked and untracked files, staging, branches, remote repositories, commits, and more!
    📄 Resources 📄
    Download Sublime Text: www.sublimetex...
    Download Git: git-scm.com/do...
    Git/GitHub Fundamentals (For Beginners): • Git Tutorial for Begin...
    ⭐️ Timestamps ⭐️
    02:12 | Git vs Github
    03:53 | Installing Git
    04:14 | Init Local Repository
    07:26 | Staging Area & Git Tracking
    08:23 | Git Status
    10:35 | Add and Remove From Staging Area
    11:41 | Commits
    15:00 | Branches
    20:48 | Merging Branches
    22:09 | Merge Conflicts
    25:17 | Remote Repositories
    31:00 | Git Clone
    ◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
    💰 Courses & Merch 💰
    💻 The Fundamentals of Programming w/ Python: tech-with-tim....
    👕 Merchandise: teespring.com/...
    🔗 Social Medias 🔗
    📸 Instagram: / tech_with_tim
    📱 Twitter: / techwithtimm
    ⭐ Discord: / discord
    📝 LinkedIn: / tim-ruscica-82631b179
    🌎 Website: techwithtim.net
    📂 GitHub: github.com/tec...
    🔊 Podcast: anchor.fm/tech...
    🎬 My RUclips Gear 🎬
    🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
    🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
    📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
    🕹 Tripod: amzn.to/3hpSprv
    🎤 Main Microphone (Rode NT1): amzn.to/2HrZxXc
    🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
    🎤 Third Microphone (Rode NTG4+): amzn.to/3oi0v8Z
    ☀️ Lights: amzn.to/2ApeiXr
    ⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
    🖱 Mouse (Logitech MX Master): amzn.to/2HsmRDN
    📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
    📢 Speaker (Beats Pill): amzn.to/2XYc5ef
    🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
    🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
    🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
    💻 Monitor (BenQ EX2780Q): amzn.to/2HsmUPZ
    💻 Monitor (LG Ultrawide 34WN750): amzn.to/3dSD7tS
    🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
    🎚 Audio Interface (Focusrite Scarlet 4i4): amzn.to/2TjXsih
    💸 Donations 💸
    💵 One-Time Donations: www.paypal.com...
    💰 Patreon: / techwithtim
    ◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
    ⭐️ Tags ⭐️
    - GitHub
    - Git
    - GitHub tutorial
    - Installing Git
    - Commits
    - Git clone
    - Git status
    - Tech With Tim
    ⭐️ Hashtags ⭐️
    #GitHub #TechWithTim

Комментарии • 116

  • @TechWithTim
    @TechWithTim  3 года назад +8

    ⭐️Join KodeKloud Engineer for free and upgrade your DevOps skills: bit.ly/3uywWm3

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

      A trick : watch movies at flixzone. Been using it for watching loads of movies these days.

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

      @Seth Tomas definitely, I've been using Flixzone for since november myself :D

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

      Er edrFftff teff get e

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

      I found new issue when you delete a project it ask me to create encription key when i try to clone the project and add . the am getting this error
      The file will have its original line endings in your working directory
      error: open("Temp/UnityLockfile"): Permission denied
      error: unable to index file 'Temp/UnityLockfile'
      fatal: adding files failed

  • @andydeckard
    @andydeckard Год назад +28

    Here are all of the commands that were covered in this video:
    Main commands:
    git init - initialise git repo inside a directory
    git status - view the staging area
    git add - add/re-add file to the staging area
    git add . - add all files to the staging area
    git rm --cached - remove file from the staging area
    git commit -m "" - commit staged changes to git repo with a message
    git commit -am "" - add all files to staging area then commit
    Branch commands:
    git checkout -b - create a new branch
    git checkout - switch to a branch
    git branch - view all branches
    git merge - overlay work from branch name onto the current branch
    git branch -M - rename current branch to branch name
    Remote Repo commands:
    git remote add origin - add the url to the repo as a remote with name origin
    git push -u origin - upload changes in a branch to origin (the remote repo)
    git pull - get changes in remote repo
    git clone - clone remote repo and save it to a new directory

  • @jonathanlo9210
    @jonathanlo9210 3 года назад +42

    For any beginners here using version control in a team setting -- you generally want to avoid the git add . (add all files) command, unless you are 100% certain you want to include all changes to be pushed up into the git repo. Adding any unnecessary files may cause headaches and extra work if you're not being careful.
    As always, thank you for the content, Tim!

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

      how to exclude temp file then

    • @shail0124
      @shail0124 Год назад +1

      You can just simply specify files and directories to ignore in .gitignore file

  • @kenet7877
    @kenet7877 3 года назад +30

    Tim helping to cultivate future programmers with these simple videos! Love your videos.

  • @abhinavchavali1443
    @abhinavchavali1443 3 года назад +83

    I feel like there is already many of these kinds of videos. Would appreciate a more complex git tutorial with forks, open source contributions, pull requests, and the more complex topics

  • @ChrisTietjen_00
    @ChrisTietjen_00 2 года назад +3

    As a beginner I thought your previous beginner video was better because of your blackboard introduction. This video consolidated the earlier video information and added a few items that you glossed over or didn't include in the earlier one. I wouldn't have gotten as much out of it if I hadn't watched the first one. The overview from the blackboard definitely has an impact for a beginner.

  • @Toam99
    @Toam99 6 месяцев назад

    I am 06:55 minutes in and your way of explaining things is really fantastic!!
    Thank you so much Tim ❤

  • @rakeshchowdhury202
    @rakeshchowdhury202 3 года назад +4

    Thanks for making my git repo cleaner lol.
    The sponsor is cool btw. Honestly this is the first sponsor I liked on a video.

  • @anurag01a
    @anurag01a 3 года назад +9

    git commit -m "Binge-Watched and coded it till the end !! Love you, Tim❤❤"
    git push -u brain main

  • @aadityamunjal7861
    @aadityamunjal7861 3 года назад +18

    Also please make a tutorial on pull requests, forks, and other GitHub open source stuff. I struggled a lot with them earlier.

  • @philosophyindepth.3696
    @philosophyindepth.3696 Год назад +1

    4:40 git init command initialize repository in proper directory
    5:40 go to folder(in cmd) where you had created git repository
    10:30 adding files to staging area

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

    Thankyou very much for this tutorial. It helps me a lot. It makes it way more easier when somebody is showing that in real instead of graphic representation

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

    One of my favorite RUclipsr❤

  • @mayankdiwedi6591
    @mayankdiwedi6591 3 года назад +1

    Great work tim. Keep it up. You forgot to mention that if the remote repo is having some extra commit. It won't show up automatically to local untill you do git fetch to the local. Correct me if I'm wrong... :)

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

    Hey Tim, thanks for the tutorial. It really help me understand certain concept and you break it down to simple easy to digest word. Great work.

  •  Год назад

    I simply love this video!!!

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

    Awesome tutorial. Great teaching. Understood in one go.

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

    Now i learned how to use git. Thanks again, Tim! Loves from Brazil

  • @ThePhantomCoder
    @ThePhantomCoder 3 года назад +3

    Hey tim! I just wanted to say I think you should try out tabnine I think it's really cool
    Thanks for this tutorial!

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

    Thank you so much for the github part. I was struggling to find a good source on that :)

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

    I would love so much if you make a video showing how to walk through the commits thanks for the content

  • @blazi_0
    @blazi_0 3 года назад +1

    You know what we need 😌
    Thank u Tim sooooooo much !!!!!!

  • @sasha786123
    @sasha786123 3 года назад +73

    in 15 mins at 2x speed

    • @janakisasidhar7582
      @janakisasidhar7582 3 года назад +7

      @tarun No u

    • @saliherk4n
      @saliherk4n 3 года назад +3

      Math 🦍🦍

    • @vmp916
      @vmp916 3 года назад +2

      Mfers with TI-84’s be like

    • @user-zh8fd3vf5c
      @user-zh8fd3vf5c 3 года назад +6

      now in 2 mins with document.querySelector('video').playbackRate = 16 at browser console

    • @Avighna
      @Avighna 3 года назад +1

      Wow! You're so good at math!

  • @jitendratiwari6886
    @jitendratiwari6886 3 года назад +1

    simple and precise

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

    To be honest I think even these sponsors including the whole video everything is very informative here in twt... 🤩🤩

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

    great summary of all necessary for commands. thank you! 🙏

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

    Thanks for the tutorial really needed this at this time. This is all i wanted to know. Looking forward to the more advanced video for this.

  • @thaimeuu
    @thaimeuu 7 месяцев назад

    Thank you Tim

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

    Great video. It was clear and straightforward

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

    do more about github especially in project managment
    Thank you tim

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

    This was extremely helpful, thank you Tim!

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

    Useful and valuable tutorial. Thank's!

  • @Salah-YT
    @Salah-YT 2 года назад +1

    thank u so much bro i learn a lot so now I can push up all file so that it will be ok for me now I don't like merge and changing branch hhhh so and I use git bash so much better bro so thanx bro

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

    Thanks man - big help.

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

    Great structure to the video! Thanks

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

    Thanks a lot! You made it so clear.

  • @KishoreKumar-qh7pg
    @KishoreKumar-qh7pg 3 года назад +1

    I literally watched your old video just now 😂

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

    Just this week i deleted a whole webservice by issuing the wrong git commands lol. Thankfully, i could restore it via backup. This will be helpful.

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

    Thank you so much.... You’re the best

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

    very helpful, thank you!

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

    nice tutorial tim

  • @quianoherminigildojra.4989
    @quianoherminigildojra.4989 2 года назад

    nice, it really helps me.

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

    Wow and i just yestarday watched the 40 minutes tutorial, but it doesn't matter, am going to watch it anyway lol

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

    Thanks 😊

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

    Good stuff, thanks!

  • @imlordkrunic2737
    @imlordkrunic2737 3 года назад +1

    That algo expeert ad is killing me 😭

  • @michmart9261
    @michmart9261 3 года назад +1

    This reminds me of the 5D chess with multiverse and time travel

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

    if you clone some repository from github to local machine and do some changes in it, push it to github. then this changes where
    it will reflect, that existing repository or will it create another repository in my github account??

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

    I saw the repo on your account before this video was out lol

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

    When you make a really small change to a file, like correcting a spelling mistake, and you want to upload that to make sure you do not have to do that again in case you loose the local files, do you have to commit before pushing the file? Or as you wouldn't want to create a commit for this slightly change could you just push it to the remote repository?

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

    If any one ask me who is your inspiration to programming then my answer would be definitely TWT
    Great job tim explain more about github

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

    what is difference between this video and previous one?

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

    learned!

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

    Which one is correct?
    KodeCloud spoke with you and offers to sponsor you.
    Or its you affiliating just for a commission?

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

    thanks

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

    Oops, you dropped your crown sir.

  • @va9if
    @va9if 3 года назад +1

    can anyone explain how is Microsoft's repo is protected from tim's push ?

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

      push request I guess :/
      im kinda new to github, any information would be appreciated

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

    nice.

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

    Hey! Just found your channel and I'm loving the Python videos. I've been using scrims in Scrimba to practice python but I want to level up and starting learning git and github more but I'm getting stuck with the git install. (I do have VScode and I have tried the replit but I just perfer scrim for right now)
    My current set up is '/usr/bin/git' and 'git version 2.24.3 (Apple Git-128)' . I tried to upgrade to version 2.34.1 for mac by downloading homebrew and and then asking it to install git. When I checked the path and version after all this it was still showing me my original set up. I tried doing some research to figure why now I'm more confused and also worried I'll do damage to my computer trying to do whatever sudo or sudu thing in my terminal that I've been seeing.
    Do you have any advice? Honestly, and I'm slightly embarrassed to admit it, but I need someone to really dumb this process down for me. Like a pre-begginner explanation.
    thank you!

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

    How do we go back to a previous version of a document?

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

    Awesome

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

    Hey Guys, how do I remove files from the staging area? (1. Single file and 2. all the files)

    • @user-bg6mr3rj7d
      @user-bg6mr3rj7d 3 года назад

      like, undo the staging of a file and restore the file from an earlier commit?

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

    Dude can u do a tkinter version of your Rock paper scissors game...

  • @matiurrahaman1163
    @matiurrahaman1163 3 года назад +1

    2nd And well even I have a video on this on my channel 🤭

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

    Tim, do i watch this 1st or you older one?

  • @SanjayKumar-xn2xm
    @SanjayKumar-xn2xm 3 года назад

    bro can you make video on unity

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

    Please, please, please, please.... please...
    Do a tutorial on the : Feature, Hotfix, Dev and mastet branching system. Use a real case project ! Causr this is the kind of thing that you need to work in a company to learn and it is very difficult to learn by your self, thank for everything

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

    how to create a branch 16:47

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

    goooodd

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

    7:12

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

    Branch.

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

    Yay I’m early

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

    22nd viewer!

  • @codeforcoders69
    @codeforcoders69 3 года назад +1

    Anyone here who use Codeddit App

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

    hi

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

    you forgot the link :/

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

    why do you never introduce how to go back to a previous commits, that's very important

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

    4th comment

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

    git in 15 minutes for me on 2x speed

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

    Git and windows don't work well together imo

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

    pin this cuz im so epic haha meme

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

    Fairly long !!! , there is somebody made 9.5 hours

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

    Don't quite see why you need to make a 2nd git/github video considering your last one is only 9 months old..

    • @TechWithTim
      @TechWithTim  3 года назад +3

      Just wanted to cover some things I felt I skimmed over and didn’t do a good job of 👍

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

      @@TechWithTim can you post a video on bulding websites in react and node