Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guides:editing_ubnetdef_website [2017/03/24 06:58] jamesdro Advanced |
guides:editing_ubnetdef_website [2017/09/18 18:18] (current) jeredgei [2. Clone the website repository] |
||
---|---|---|---|
Line 14: | Line 14: | ||
===== 2. Clone the website repository ===== | ===== 2. Clone the website repository ===== | ||
The website is located [here](https://github.com/ubnetdef/website). Clone it (which means "download") to your local computer. As a note, now's a good time to ensure you have a GitHub account, and are added to the UBNetDef GitHub account. | The website is located [here](https://github.com/ubnetdef/website). Clone it (which means "download") to your local computer. As a note, now's a good time to ensure you have a GitHub account, and are added to the UBNetDef GitHub account. | ||
+ | |||
+ | Netdef Repo: https://github.com/ubnetdef/website.git | ||
+ | |||
+ | Lockdown Repo: https://github.com/ubnetdef/lockdown-website | ||
+ | |||
+ | **Git Command:** | ||
+ | |||
+ | `git clone "REPO"` | ||
+ | |||
+ | After cloning for the first time, there is no need to reclone the repo. To update your copy of the website to the most current version use the command `git pull` from a git CLI in the directory you previously created. | ||
+ | |||
===== 3. Make some changes ===== | ===== 3. Make some changes ===== | ||
Line 20: | Line 31: | ||
===== 4. You're Done! ===== | ===== 4. You're Done! ===== | ||
Once you push them to the GitHub repo, the website will auto-magically download the changes, and build it. Woah! It's magic. | Once you push them to the GitHub repo, the website will auto-magically download the changes, and build it. Woah! It's magic. | ||
+ | |||
+ | **Git commands:** | ||
+ | |||
+ | `git add -A` | ||
+ | |||
+ | `git committ -m "Change comments"` | ||
+ | |||
+ | `git push` | ||
{{:guides:magic.jpeg?400|}} | {{:guides:magic.jpeg?400|}} |