Git Pre- Req
Computer Authentication :
Pre- Req:
Windows:
ii.
Install (Next > next >…)
iii.
Right click on select git bash option
Mac :
·
Open
Terminal
Steps :
1. Enter ssh-keygen -t rsa
in your git bash prompt / terminal (type “yes” when asked and
press enter key otherwise)
2. Note
down location of the file created or usually file gets created in below
locations
3. Open
id_rsa.pub file
a.
For Windows : C:\User_name\.ssh\id_rsa.pub
or C:\xxx_USER \.ssh\id_rsa.pub
b.
For Mac : /Users/User_name/.ssh/id_rsa.pub
4. Copy
entire Contents
Eg :
ssh-rsa
sadfasfldfllflamflamsflWWQEW;as
--------
--------
---------------------------------@in.xxx.com
5. Create a new git hub account
6. Goto
Settings
7. Click
on SSH and GPG keys
8. Click
on New SSH Keys
9. Paste
the contents inside
10. Click
on Add button
11. Create
a new folder in your system with name git_test (any location)
12. Navigate
inside the folder
13.
a.
For windows : Open git bash by right click
b.
For mac : use terminal to navigate inside the
new folder using “cd command”
14. In
your terminal / git bash run command (copy link below from the git project online)
“ git clone git@github.xxx.com:djayapr1/testing.git”
15. Run
command “cd” into the cloned folder
No comments:
Post a Comment