Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:github [2025/10/16 10:50] – [New Repo] will | tools:github [2026/06/17 14:13] (current) – [Github setup] will | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Github setup ====== | ====== Github setup ====== | ||
| + | Github (the source forge) speaks but is not '' | ||
| + | |||
| + | See [[: | ||
| + | |||
| Github setup includes | Github setup includes | ||
| - [[# | - [[# | ||
| - | | + | * use **ssh** url like '' |
| - | - [[# | + | * avoid conflicting histories: <wrap important> |
| + | | ||
| + | * <wrap tip> be sure you '' | ||
| + | - [[# | ||
| * <wrap tip>ssh keys recommended</ | * <wrap tip>ssh keys recommended</ | ||
| - | * <wrap alert> '' | + | * <wrap alert> '' |
| ===== New Repo ===== | ===== New Repo ===== | ||
| <WRAP alert> | <WRAP alert> | ||
| - | If you have an existing directory you want to put on github, **DO NOT** generate a readme when creating the github repository. | + | If you have an existing directory you want to put on github, **DO NOT** generate a readme when creating the github repository. Instead, use the [[# |
| </ | </ | ||
| Line 22: | Line 29: | ||
| ===== Existing Repo ===== | ===== Existing Repo ===== | ||
| + | |||
| + | To get existing code onto your local workstation or server environment, | ||
| * Copy the ssh url of your new repository. Green ''<> | * Copy the ssh url of your new repository. Green ''<> | ||
| Line 27: | Line 36: | ||
| * Clone the copied url like <code bash>git clone git@github.com/ | * Clone the copied url like <code bash>git clone git@github.com/ | ||
| ===== Authentication ===== | ===== Authentication ===== | ||
| - | For '' | + | Find github instructions on [[https:// |
| + | |||
| + | For '' | ||
| + | |||
| + | when using ssh keys (recommended) use '' | ||
| + | switch from https to ssh using '' | ||
| + | |||
| + | {{.: | ||
| ==== ssh keys ==== | ==== ssh keys ==== | ||
| - | '' | + | '' |
| Contents of '' | Contents of '' | ||
| + | <code bash> | ||
| + | cat ~/ | ||
| + | </ | ||
| + | |||
| {{: | {{: | ||