In this tutorial, we will learn how to install git on MacOS.
Full blog post: https://www.jcchouinard.com/install-git/
-----
Support my work:
https://www.buymeacoffee.com/jcchouinard
Subscribe to the Python course waitlist:
https://ba995fe7.sibforms.com/serve/M...
Subscribe to this channel:
/ @jcchouinard
Follow me:
/ chouinardjc
/ jeanchristophechouinard
https://www.buymeacoffee.com/jcchouinard
/ @jcchouinard
---
Transcription
hi everyone my name is and today we'll
learn how to install git on Mac OS so
what we'll do is we will go to install
onbrew so ins
install onbrew and we'll go to the
package manager and here we have a bash
that will allow you to install Homebrew
on your Mac machine if that hasn't been
done
here I put on my password enter and then
let's pause for a second well Homebrew
installs
so cool now brew has been installed so
what we can do is we need to install a
git so we can go to My article to find
the command here uh install git so it's
Brew install git so you can go to your
terminal Brew install git
um
so yeah so now we need to do those
commands so I forgot here to do the
command so we can do Eco set so we'll
have to set pad of Brew so Eco ZF
profile Echo
and evil emotional environment
and then so if we go back and do Brew
install git now that we've installed to
the path git will get installed on Mac
so now git has been installed so what
we'll see is if it's probably Git
Version see if it's okay yeah we have it
so now we will want to create our first
comment so we can do uh
touch
oh no let's uh make it there
get
uh
get the directory
so now I make there and then I will uh
CD and
get
directory so I'm actually moving through
dictionary directory so now I'm in
within the git directory and I will
create a new file called hello.txt
so now I can see if I list within I can
see that I've created the yellow dot
text so now what I will want to do is I
will have to get config
minus it's git config
so what I will write is git config minus
Global and I would say user email and me
at example.com
and I would do git config global
user name and I would put my name
and then I'm ready to commit so I've
created the file I've
configured my email and name so now what
I can do is I can say git add and I can
say hello the text
so I will add to to the commit and then
I was a git commit minus m
my first comment
so now I've created my first comment on
git
on git on Mac so thank you very much for
watching this tutorial and see you next
time
Watch video How to INSTALL GIT (on MacOS) | jcchouinard.com online without registration, duration hours minute second in high quality. This video was added by user Jean-Christophe Chouinard 11 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,190 once and liked it 6 people.