-
Notifications
You must be signed in to change notification settings - Fork 0
Maintaining the wiki locally
This document is intended to provide a protocol for cloning the wiki and local maintenance
-
git
>=2.25.1
GitHub Desktop
For proper version control and ease of maintenance, the wikis on GitHub can be cloned locally. However, this process is slightly more involved than using GitHub Desktop
to clone a repo.
-
Navigate to the wiki that you would like to clone. Any page within the same wiki is equivalent.
-
Just under the
sidebar
, there should be a small address to copy which allows you toClone this wiki locally
. You can either click on the clipboard or manually copy the entire address. -
Navigate to the directory where you would like to clone the wiki and create a terminal instance at that location.
-
Use the following command to create clone the wiki 'repository'
$ git clone https://github.com/KPU-AGC/general-resources.wiki.git
This should automatically pull from
ORIGIN
and automatically retrieve the latest version of the wiki.
At this point, the wiki is locally instantiated, but it is also possible at this point for GitHub Desktop
to recognize the wiki as a repository for automatic fetching, pulling, and pushing.
-
Open
GitHub Desktop
. -
Either use
CTRL+O
or go to the top-left dropdown and selectAdd > Add existing repository...
and navigate to the directory where the wiki was cloned into.Note: there should be a
.git
directory in the root directory. -
Done! The directory will be recognized like a repo and will automatically
fetch origin
or track changes.
Should we have some kind of footer?
General Guides
- Nomenclature: Data Files; Scripts
- Script Writing
- Organizing Data and Analysis
- Working in GitHub
Useful Links