Skip to content

How to use git

To clone a repo, go to the webpage and click the clone or download button and click 'Use SSH'

SSH or https

Seeing as you have 2fa enabled on your account, you should be using ssh as it doesn't require you to log in each action you make

Once you have the string on your clipboard open a terminal window and browse to a location where your code will now live. I use ~\github


git clone<repo url>

Once cloned, go to its folder and edit the code to your hearts content

Once you're ready to push your code

git add <file's that changed>
git commit -m 'Added files/ refactored prd
git push

Want to make this site better? Open a PR or help fund hosting costs