You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.4 KiB
3.4 KiB
How To Git <3
Table Of Contents
- Part 1 Setting up account
- Part 2 SSH keys
- Part 3 Setting up github desktop
- part 4 Finishing up
- Usage
Part 1 Setting up account
- First of all Register here.
- Ask your organization owner to add you to the organization you can move on after telling them.
Part 2 SSH keys
- Press the windows key, search for
cmd
and open the black box. - Write
ssh-keygen -t ed25519 -C "your_email@example.com"
replacing "your_email@example.com" with your own and press enter.- Press enter on all questions.
- Press the windows key, search for
services
and press the blueish cogs. - Scroll down and find
OpenSSH Authentication Agent
Right click and press**Preferences**
. - Open the
StartMethod
dropdown and select**Automatic (Delayed start)**
. - Press apply then press start. you can now exit the "Services" app.
- Open
File Explorer
and navigate toC:\Users\"YOUR NAME"\.ssh
. - Make sure that you have File extentions enabled in the show menu of File Explorer.
- Now Make a file and name it
config
with no extention. - Open
config
in notepad and writeAddKeysToAgent yes
. - Now back in cmd write
ssh-add .ssh/id_ed25519
and press enter.- You can close cmd now.
- Open this Link and press add key.
- Now in the
.ssh
folder we opened earlier you should find aìd_ed25519.pub
.- Open it and copy the contents.
- Paste the text from
ìd_ed25519.pub
in the big box on the ssh key page we opened and rename it to something relevant like laptop or school. - Finish of this part by pressing the
Add Key
button under the big box.
Part 3 Setting up github desktop
- First of all if you havent gotten github desktop downloaded yet then download it here and install.
- On the welcome page that opens after installation press the gray text that states
Skip this step
- Now fill in the user and email that you have for this page and press continue.
- Once your inside there will be three buttons press ´Clone a repository´.
- Now open the url tab and contine here.
- Go to the homepage of this website and find the
Organization
tab on the left. - Under the tab you should see a organization if you dont then ask your organization owner to add you again.
- Now open that organization and press the big text in the empty space with your projects name on it.
- Here you will have to find the
https and SSH
buttons and press the ssh one. - Next to the
SSH
button you will now see a link. Copy that link and paste it in the url spot and change file location if needed. - Press the clone button.
part 4 Finishing up
- Wait until you see that the spinning arrows have stopped and the text under says
Last fetched just now.
- Open unity hub and press the down arrow next to open and select add project from disk.
- Find your project were you put it default dir is
C:\users\YOURNAME\Documents\github\PROJECTNAME
and select.