1.5: Intro to the Command Line - Git and GitHub for Poets

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ธ.ค. 2024
  • In this fifth part of the Git and GitHub for Poets tutorial series, I give you a brief introduction to the Command Line and show you some of the most often used commands.
    Next Video: • 1.6: Cloning Repo and ...
    Support this channel on Patreon: / codingtrain
    Contact: / shiffman
    GitHub Repo fo User Rainbow Coder: github.com/rai...
    GitHub: github.com/
    Intro to GitHub: guides.github....
    For More Git and GitHub videos: • Git and GitHub for Poets
    Help us caption & translate this video!
    amara.org/v/QbsU/
    📄 Code of Conduct: github.com/Cod...

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

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

    this guy is soo full of life :)

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

      @@MeRaaaaage Do you dump or something
      If anyone become a teacher they do this on the class to make student more excited about the lecture. Do you complain that teacher so fake emotion.
      Use your brain and IQ before comment. Rather than make some dump comment on someone just want to teach free on TH-cam

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

    This is the best tutorial on git, command line and in general, this teacher rocks.
    Mr. Rainbow Poet, if you are reading this, please keep on creating, and we will keep on subscribing/joining your channel.

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

    "it'll be edited out later"
    narrator: "It never was"

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

      The neeeeeeeeeeeeeeerve.
      Lol

    • @Ha-ppi-ness
      @Ha-ppi-ness 3 ปีที่แล้ว

      yess. And also, I did was annoyed >.

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

    God this is the best tutorial I have ever seen. You are so happy, explain everything so simply. I will definitely watch like, everything on your channel *.*

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

    I've put off learning git for years because the command line really intimidates me. Now I'm required to know it for a project, and I'm so glad I found your tutorials. You explain everything so well, and your teaching style is the most engaging I've found on youtube. I especially really appreciate how you explain what each command stands for (like pwd for print working directory) - it increases my comprehension and memory soo much! Thank you!!

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

    This is so far the best best best series about github..thank you so much.

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

    I bet if this guy taught "Quantum Geometric Intelligence", 2-year-olds would understand! Well done bro + More Grace

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

    You are my favorite teacher.

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

      For now...

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

      @@andrewkigen I didn't get it

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

      @@ekrem_dincel I can't quite remember what I was thinking but it was probably because there's so much good content on TH-cam and I keep finding new teachers that I really like.

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

      @@andrewkigen ok

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

    1:54 indeed. Opening terminal for first time is exciting. :D

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

    The only video on terminal commands I've understood. Thank you so much!

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

    Another trick I learnt: you can (at least on Windows) go into your Explorer and where it shows you the address of your currently open folder, select everything (With `Ctrl + A`) and then type `cmd`. This opens the Command Prompt with that folder as your working directory/ the directory you are in.
    And of course, you can right click to open the Git Bash.

  • @TheNewVoxel
    @TheNewVoxel 8 ปีที่แล้ว +14

    If you're using git bash on windows you can use "explorer" instead of "open" to open up the File Manager.

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

    He actually looks like the "professor" from Money Heist.

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

      I always thought that hehehehe

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

      more like gilfoyle from silicon valley

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

    I love this video series ! You’ve literally saved me and made me enjoy git.

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

      yes, the same for me

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

    I am literally going to comment each of your videos so more viewers can find them! ^^

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

    Your tutorials are the absolute best !!!

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

    I love this guy, thanks a lot brother

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

    That drag and drop trick is really awsome!!!

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

    "i made that joke 10 minutes ago but you don't know that... it was better the first time.... shouldn't have said it" hahaha xD

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

    this dudes a trip.... in a good way. thanks for the video :-) love your energy

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

    Wished I had found this earlier!!!! You videos are really awesome....keep it up

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

    What awesome explanation... Great energy and commitment 👍

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

    So glad i found this!!! This is the language i understand :D more videos pls! And thanks a lot, it is really helpful

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

    Video starts at 3:12, skip this entire video if you know the following commands: [ cd, pwd, clear, ls ]

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

    Professor Pardox No Worry they know Everything

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

    Fun video series. I've never seen ls -all however ls -a means (show hidden files) -l means (display as list) therefore ls -al will display the files including hidden files in a list format. I must admit -all is easier to remember then -al .

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

    Just love your teaching style and the soliloquist side of you in your videos.
    P.S. - Soliloquist means One who talks to himself, generally a trait in a genius or a psycho (:

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

    love so much bro for all your videos and the amazing talent you've got..

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

    your videos are just awesome man.

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

    ls -all ? is that just a way to remember it? I'm sure you're passing 'a' & 'l' & 'l' to ls so 'l' is repeated. Generally I do ls -la (on linux) and get the same result.

    • @TheCodingTrain
      @TheCodingTrain  8 ปีที่แล้ว +9

      I will have to reconsider my knowledge of unix.

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

      man7.org/linux/man-pages/man1/ls.1.html
      I wouldn't say you have to totally reconsider it, you were close enough 😉

    • @mx_mazunki
      @mx_mazunki 5 ปีที่แล้ว

      I was actually thinking about `ls --all`, which is essentially the same as `ls -a`.

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

    I appreciate your effort,thanks alot.🌷

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

    7:43 i think you ment --all
    -all is short hand for --all --long --long

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

    Can you make a video handling git with Visual studio

  • @easternwawoman3337
    @easternwawoman3337 5 ปีที่แล้ว

    Another idea: On Windows 7, just Ctrl N, go to directory desired, right click, then select "Git Bash Here" Admittedly, Explorer . works just as fast but some people like their tea served differently. :-) Could also add git bash to desktop and change the home url, assuming you are working in one spot for some time.

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

    I never knew you can drag a file into a terminal to print its location / directory. Thanks.

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

    Regarding your comment at 2:18 about -nix and windows, cygwin.com dates back to 1999, and I've been using it since almost day-1. It rides on top of Win, and includes a GUI on top of that. I *NEVER* use the 'DOS box' for anything command line related (except in emergency) because the feature set is extremely limited and kludgy. UNfortunately there's no Mac version, and probably won't ever be. If you ever want to try a -nix system, OpenBSD is designed for security, *all* services are disabled by default, and with a few prompts at install time can be running in 10 minutes.
    The git-bash works, but all the color stuff they do is weird and uncomfortable. All I want for a command line is black on white. Maybe I could change a config file or something but I don't like that they put it in there in the first place. Other than that it works.
    Thanks for these vids. They're excellent because they stay ON TRACK, despite you obvious need for your meds script to be renewed. ;) KIDDING!! Enthusiasm is a good thing. :) I've viewed dozens of others over the past few weeks. The biggest problem with all of them is that they claim to be beginner tutorials but always very quickly drift off into diagonals such as 'do this, but don't do that because another odd thing might happen, unless this third thing doesn't happen in which case this fourth thing might work.' Beginners don't want or need that. All they need are the facts, Max. Vids have been excellent so far and I'm looking forward to the rest of the series. You REALLY know your shti.

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

    thanks for the great video! a quick rookie question. So how does your command line(either windows or unix) git commands know to link to github website and even to which account?

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

      I've set git global config parameters for my username and e-mail. help.github.com/en/articles/setting-your-username-in-git

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

    open in windows with gitbash don't work, any suggestions?

    • @RavinderSingh-te8vy
      @RavinderSingh-te8vy 7 ปีที่แล้ว

      use "explorer ."

    • @can.slaughter
      @can.slaughter 6 ปีที่แล้ว

      Now you can install bash on Windows (and other Linux software as well).

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

    does anyone know the linux command for "open ." please

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

      Did you find the answer for Linux plz?

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

      @@emmaa8416 "open" is a universal opener in OSX. To do the same thing in Linux, you have to use "xdg-open" command

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

      @@ogedayyldz4756 Done, Thank you very much

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

    open . does not work in my linux terminal?

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

    Hey open . the command is not working. I am using git bash in Windows 10

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

    Do you have any videos teaching people how to use GitHub Pages?

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

    Did you pin a link for git bash? Or is there something better these days.

  • @SimonFallheart
    @SimonFallheart 5 ปีที่แล้ว

    How can i change bash default starting directory?

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

    very very thanks

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

    i cannot find the Coding Rainbow repo.

  • @svetlinivanov6437
    @svetlinivanov6437 5 ปีที่แล้ว

    open . did not work for me. Any idea what could be the reason for this?

    • @95Darkart
      @95Darkart 5 ปีที่แล้ว

      I'm using the command start .

  • @sprezzaturarrd
    @sprezzaturarrd 5 ปีที่แล้ว

    how about using TortoiseGit for Windows?

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

    i can't find the link for gitbash

  • @Mango-yi3xn
    @Mango-yi3xn 5 ปีที่แล้ว

    pwd doesn't work any suggestions?

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

    Very good!

  •  5 ปีที่แล้ว

    but why dont you just use Finder instead?

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

    can you cover windows ?

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

      If you use Git Bash for your cli - then it's the same for Windows, except to open a folder, enter 'explorer .' instead of 'open .'

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

      @@villagebantam How can I install Git Bash?

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

      Go over to git-scm.com/downloads

    • @shakeib98
      @shakeib98 5 ปีที่แล้ว

      @@villagebantam start . works the same

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

    no one edited it out :(

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

    open . is not working in windows bash.

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

    So many likes

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

    he could be an excellent teacher if he stop joking about the joke he made 10 year before

  • @52.yusrilihsanadinatanegar79
    @52.yusrilihsanadinatanegar79 4 ปีที่แล้ว

    DesktoP

  • @CristianRomero-up1nj
    @CristianRomero-up1nj 6 ปีที่แล้ว

    Permission denied ????wtf