No video

The Absolute Basics of Git & Github: Step by Step

A simple tutorial for the most basic git workflow for beginners, along with how to create a github repo and upload it to github. Here are the basic steps:
1. git init . (initialize the current directory as a git repository)
2. git status (see changes to tracked files, untracked files, etc.)
3. git add /path/to/file/or/dir (add just that file or directory to git)
3a. git add . (add everything in the current directory)
4. git commit -m "commit message"
5. git push (push to an upstream repo, if you've configured it)
These are the very basics of creating a repository and pushing it up to github. I'll do another video with a more theoretical and thorough look at git basics, but that one will be much longer.
Pro Git Book (free): git-scm.com/bo...
My step-by-step project-based Linux course for beginners: www.udemy.com/...
Free Linux Sysadmin Course Playlist: • The Linux Basics Cours...
DigitalOcean referral link: m.do.co/c/0380...
Patreon: / tutorialinux
Official Site & e-mail list: tutorialinux.com/
Twitter: / tutorialinux
Facebook: / tutorialinux
Podcast: kernelpanicpodc...

Пікірлер: 28

  • @MicahMount
    @MicahMount6 жыл бұрын

    Nicely done! I use this exact workflow almost daily.

  • @5lhunt
    @5lhunt4 жыл бұрын

    "The Absolute Basics" starts with it already set up so actual beginners still don't know what's going on:(

  • @K8Stuff

    @K8Stuff

    4 жыл бұрын

    Yea he lost me within ten seconds ...

  • @supahx1421

    @supahx1421

    3 жыл бұрын

    Learn to read documentation

  • @ApakukiNayacakalou
    @ApakukiNayacakalou6 жыл бұрын

    Awesome video series!!! I've gone and bought the udemy course! Thanks for the great content!

  • @cdnuzzo
    @cdnuzzo6 жыл бұрын

    Best videos, dude!

  • @soldadopreciso
    @soldadopreciso6 жыл бұрын

    i like your terminal and your git prompt

  • @tobortine
    @tobortine6 жыл бұрын

    Nice video. I find that git gui is slightly easier if you're new to git.

  • @ferminmata6794
    @ferminmata67945 жыл бұрын

    Very helpful tutorial thank you 🙏

  • @oleksiipasichnyk98
    @oleksiipasichnyk983 жыл бұрын

    I guess the tutorial is a bit outdated by now( private repo is free these days for example), but the main idea is still the same as well as basic commands.

  • @poppop-oj6by
    @poppop-oj6by6 жыл бұрын

    Git is sometimes a bit complicated. It does deliver though. Every coder should know the basics of git. I somtimes get a bit enjoyed when people I work with use some git gui but don't really know what they are doing and screw things up. You can use a gui but you have to know what you are doing.

  • @TheGruselmops
    @TheGruselmops6 жыл бұрын

    your tutorials are the best

  • @tutoriaLinux

    @tutoriaLinux

    6 жыл бұрын

    Yep, you can just store the git repo on a server and use that, along with some friends, as a private repo server via SSH (that's what I do for several private projects). There are also things like gitlab that will let you set up a private github-like webapp of your own (including some of github's nice paid features). If there's interest in that, I can definitely do some videos!

  • @TheGruselmops

    @TheGruselmops

    6 жыл бұрын

    cool. thx! That would be awesome. I definitely learned something from you, because I instantly thought of using ssh but i don|t know exactly how to do it. Will learn some more ssh first 👌

  • @bilalsajid96

    @bilalsajid96

    6 жыл бұрын

    yes please make video on that as well to commit git repo on server.

  • @TheGruselmops

    @TheGruselmops

    6 жыл бұрын

    just watched the video a 2nd time. checked out the progit book. Somehow I completely filtered the information the 1st time. It's great and it briefly explains how to get git on your own server. And I had to secure me a copy of your Udemy course . For 10 bucks you don't have to think twice.

  • @bilalsajid96
    @bilalsajid966 жыл бұрын

    can you make video on email servers. like postfix

  • 6 жыл бұрын

    but for dummies please. i tried for 2 weeks, very frustrating.

  • @Hadw1n
    @Hadw1n4 жыл бұрын

    Thanks/ Danke :)

  • @techie9265
    @techie92656 жыл бұрын

    I love you man

  • @tutoriaLinux

    @tutoriaLinux

    6 жыл бұрын

  • @VanDerLaars
    @VanDerLaars6 жыл бұрын

    Is the podcast dead?

  • @tutoriaLinux

    @tutoriaLinux

    6 жыл бұрын

    Not quite, we just haven't had any time to create new episodes. Jeff and I both just started new jobs, so things are a bit crazy. The podcast is high up on my list, though. Will get another episode recorded ASAP.

  • @VanDerLaars

    @VanDerLaars

    6 жыл бұрын

    tutoriaLinux I understand. You mentioned that he had another job and all the crazy schedule. Hope you guys can sort it out. In time, I've been away ffom the channel for a while so I missed the poll but I'd like to see (if you have experience with that) somerhing about Nagios. I have it up and running but I had a hard time and I can't say that I'm 100% of everything I did. :D

  • @tutoriaLinux

    @tutoriaLinux

    6 жыл бұрын

    Nagios is a beast. A useful beast, but a beast :-D. I'll put it on the todo list.

  • @VanDerLaars

    @VanDerLaars

    6 жыл бұрын

    Awesome. Maybe you could do something in the Patreon. :D

  • @LucasDellaSantina
    @LucasDellaSantina3 жыл бұрын

    docs.github.com/es/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent para los que no tienen claves