https://cli.github.com/
Check the full description to see all Payment Links to Buy Source Code:
Buy the Source Code with PayPal (in USD):
https://www.paypal.com/ncp/payment/5AGGYJECQVZJC
Live Demo of App:
Buy the Source Code with Stripe (in INR):
https://buy.stripe.com/5kQ4gB8rCbcydjD4Vm14f1J
More Payment Options:
Watch My Visual Studio Code IDE Setup Video For Fonts,Themes & Extensions
https://youtu.be/Bon8Pm1gbX8
Show More Show Less View Video Transcript
0:03
Uh hello guys, welcome to this live
0:05
stream. So in this live stream, I will
0:06
show you the GitHub official command
0:08
line tool which is completely open
0:10
source to use and download. It's very
0:14
insane. So this is the GitHub
0:16
repository. It's called as CLI and it's
0:19
developed by GitHub. It's almost 40,000
0:22
GitHub stars and 7,000 folks. So this is
0:26
their official website cla.github.com.
0:28
github.com. So basically you can uh
0:32
don't need to memorize all the GitHub
0:34
commands. You can install this CLI tool
0:37
directly inside your machine to save a
0:39
lot of time. So this is take GitHub to
0:41
the command line. So GitHub CLI brings
0:44
GitHub to your terminal. It's free and
0:46
opensource and you can basically
0:48
download this for Windows.
0:51
Stepby-step instructions are there on
0:54
this official GitHub repository. Click
0:56
on download for Windows. And it
0:58
basically download this .exe file here
1:01
which is 17 MB.
1:04
So once you download this simply open
1:07
this run this file and it will open this
1:11
setup right here. Welcome to the GitHub
1:13
CLI setup visit. So this will install
1:15
GitHub CLI inside your machine. So
1:18
simply provide the destination folder.
1:21
So click on next and click on install.
1:25
So now it will install this GitHub CLI
1:27
inside your machine. So just need to
1:30
give some time right here. Click on
1:31
finish.
1:33
So after it installs
1:36
you can simply go to the command line.
1:40
And now I will simply go to cmd and
1:44
simply type gh. So this is the GitHub
1:48
shortand notation. As you type right
1:51
here, the command will be successful. So
1:53
this is coming from the GitHub command
1:55
line. So it has all these options right
1:58
here. You can authenticate, you can
2:00
browse repositories directly from the
2:02
terminal,
2:04
manage guest can see that. So all these
2:07
options are available for you. So the
2:10
very first thing we will do, we will
2:12
authenticate.
2:16
So you can basically
2:19
download this. It is having this
2:20
step-by-step instructions.
2:26
So here you can authenticate first of
2:28
all.
2:32
So gh o you write this command to
2:36
authenticate.
2:41
So gh o login. So right here you write
2:45
this command to login inside your github
2:48
account. So simply select yes GitHub
2:53
https.
2:56
So authenticate git with your GitHub
2:58
credentials. I will say yes. Login with
3:00
a web browser. So now automatically it
3:04
will open the browser for you.
3:10
So simply enter. And now it will open
3:12
the browser. Click on continue. And
3:15
right here you just need to paste this
3:17
activation code that it gives you. A9.
3:25
This is the eightlet digit activation
3:28
code 664.
3:33
Click on continue and simply authorize
3:36
it.
3:37
So just enter your password.
3:44
So after you enter your password your
3:46
congratulations you're all set. Now your
3:48
device is successfully connected. So you
3:51
will see that authentication complete
3:54
configured logged in as this. So now you
3:56
can perform any sort of task directly
3:58
from your terminal. So you can get all
4:01
the commands just write d-help.
4:10
You can clone a repository as well
4:12
directly inside your machine.
4:16
So once you are authenticated, you can
4:17
close this window from here. Simply open
4:20
a new window where your project is
4:22
located. Simply open right here. And
4:26
once you just need to do the
4:27
authentication for the very first time.
4:29
Then again you type you are successfully
4:32
logged in.
4:36
So these are all the options which are
4:38
there. So,
4:45
gh browse.
4:51
So you can basically go to GitHub and if
4:54
you just want to
5:02
simply clone any repo, you simply paste
5:05
this link and then
5:08
gh clone. Paste this link. This clone
5:11
command will come into the picture and
5:13
directly will clone this
5:22
GH browse. I think this is the command.
5:25
GS browse. Then you paste the link.
5:31
Let me ask chat GPT
5:36
authenticated
5:40
GitHub
5:41
official.
5:44
How to clone a repo? give command. So
5:48
right here it will give you the command
5:50
right here. What sort of command you
5:52
want to say? gh repo clone.
5:56
Okay. So
6:03
can't we use the link of the repo?
6:09
Yeah. So this is the full link uh ghre
6:12
repo clone.
6:14
Simply write here gh repo clone and then
6:18
you paste whatever uh repository you
6:21
want to clone. Simply copy the address
6:24
and paste it.
6:27
So now it will create a new folder
6:28
sample node express app and directly you
6:31
can navigate into the folder.
6:35
So in this easy way
6:52
and simply you can open it inside VS
6:55
code. So you can clone repositories as
6:57
well. You can push your current repo as
7:01
well. All these commands push a current
7:05
report to my
7:10
so
7:12
first of all yeah so we are already
7:14
authenticated so after authenticate you
7:17
basically ghre repo create-
7:20
private source remote row region push so
7:24
this is the command so you just need to
7:26
learn all the commands once you're
7:28
authenticated it's also available on the
7:30
manual page as as well. So you can look
7:32
out all their documentation which is
7:34
available. Just look at all the
7:37
commands. So it's very efficient tool.
7:40
So once you are learning all the
7:41
commands, it will save you a lot of
7:43
time. So definitely look at into this
#Programming
#Software
#Open Source
