Activity Team/Git Tutorial: Difference between revisions
Daksh Shah (talk | contribs) Adding the GitHub Workflow and updated the page :) |
Daksh Shah (talk | contribs) No edit summary |
||
| Line 53: | Line 53: | ||
You should only need to create a key once, unless you change to another system, or a different Sugar-on-a-Stick drive, or you think your private key was compromised. If you do it again, you must also add the new key to GitHub as described in the next section. | You should only need to create a key once, unless you change to another system, or a different Sugar-on-a-Stick drive, or you think your private key was compromised. If you do it again, you must also add the new key to GitHub as described in the next section. | ||
=== Setup Git for Windows | === Setup Git Desktop for Windows 7 or later === | ||
You can either directly download and install git from [https://git-scm.com/downloads here] | |||
Or you can set up github desktop, which gives you a GUI to do a lot of things. You can download it from [https://desktop.github.com/ here] | |||
=== Add SSH Key === | === Add SSH Key === | ||
| Line 73: | Line 73: | ||
If you do not use git on your system for any other project, you can configure git: | If you do not use git on your system for any other project, you can configure git: | ||
git config - | git config --global user.email "your_email@example.com" | ||
git config - | git config --global user.name "Your name" | ||
You should only need to do this once on a system. | You should only need to do this once on a system. | ||