Git and Github Tutorial | Learn Git & Github from Andrei Neagoie

Pubblicato il: 19 aprile 2021
sul canale di: Zero To Mastery
26,993
796

Git & Github Tutorial for beginners. Learn Git and Github basics from Andrei Neagoie of Zero To Mastery. This in-depth tutorial will teach how to use Git and Github and walk you through you a full workflow. Github knowledge is something every developer should know. It's a key requirement for many employers and for contributing to open-source projects.

💻 Git commands you'll learn:

Git clone
Git status
Git add
Git commit
Git push
Git pull
Git branch
Git checkout

==========

⏲ Timestamps:

0:36 – Source control
4:33 – Set up your Github account
5:36 – Start a new project on Github (Git clone, Git status, Git add, Git commit, Git push)
11:33 – Accessing Github and working on a project on Github
14:27 – Git pull
17:20 – More advanced and real-life workflow example in Github
18:27 – Git branch (`Main` branch was previously `Master branch` – see note below)
22:46 – Pull request
25:03 – Merge conflict / Git checkout
34:01 – Putting your project online using Github Pages

==========

💡 Github Renaming Update: `Master` is now `Main`

In the video, we talk about Github and branching. Recently Github has decided to rename the original branch from `master` to `main`. You can read more about why they did this here (main is less offensive than master): https://github.com/github/renaming

Therefore, any new Github repositories created from now on, you will have to use `main` instead of `master` (old ones will stay the same with `master` as the `main` branch). So anytime you see me use master, simply replace it with main!

Example 👇

If you see a command like ➡ git push origin master
It should now be ➡ git push origin main

==========

💡 My Terminal Setup

On your Bash profile, you can set it up so it shows git branches like you see in the video. Get the github branch to display in your prompt: https://gist.github.com/justintv/168835

Want access to your bash profile? Read this: https://www.quora.com/What-is-bash_pr...

Since I use the Fish shell, my setup is a bit different.

==========

Hey there, I'm Andrei Neagoie 👋. This video is from the Git + Github + Open Source Projects section of my Complete Web Developer Coding Bootcamp course.

🚀 Check out the full course here: https://zerotomastery.io/courses/codi...
👍 Subscribe for more free tutorials and exclusive content: https://links.zerotomastery.io/youtube

Graduates of Zero To Mastery and my courses are now working at Google, Tesla, Amazon, Apple, IBM, Facebook, Shopify + other top tech companies. Here's just a few of them: https://zerotomastery.io/testimonials

This could be you 👆

==========

💥 Who is my Coding Bootcamp course for?

◾ You want to learn to code and build websites and web apps
◾ You are looking to start a career in Web Development with absolutely zero prior knowledge
◾ You know HTML and CSS but want to expand your skills and do more
◾ You want to start your own business or become a freelancer
◾ You want to learn REAL industry skills that are necessary to get hired as a web developer and earn a higher salary in 2023
◾ You want one course to teach you everything in one place from a senior developer that has actual real-world experience

==========

You also won't be learning alone. By enrolling today, you'll also get to join our exclusive live online community classroom to learn alongside thousands of students, alumni, mentors, TAs and Instructors 👋

Start learning now 👉 https://zerotomastery.io/courses/codi...

#zerotomastery


In questa pagina del sito puoi guardare il video online Git and Github Tutorial | Learn Git & Github from Andrei Neagoie della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Zero To Mastery 19 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 26,993 volte e gli è piaciuto 796 spettatori. Buona visione!