Updating Geodiscovery Documentation Site
These instructions are for making updates to this documentation site.
For general information about how to use the template, see the documentation for Just the Docs.
Minor updates:
- (This step first time only.) Clone the repository to your computer
- Open GitBash and navigate to the directory where you want to store the repo.
- Clone the repo, keeping the default name:
git clone git@github.com:UWM-Libraries/GeoDiscovery-Documentation.git
- (Skip this step the first time.) If you already have the repository cloned on your computer, use
git fetch
to fetch any updates hosted on github and then usegit pull
to pull down any existing changes to your local clone. - Open the cloned directory with your favorite code editor and make your edits
- Save changes locally.
- Make commits to the local clone as you go.
- For minor changes, push to the main branch.
Major Updates:
- (This step first time only.) Clone the repository to your computer.
- Open GitBash and navigate to the directory where you want to store the repo.
- Clone the repo, keeping the default name:
git clone git@github.com:UWM-Libraries/GeoDiscovery-Documentation.git
- (Skip this step the first time.) If you already have the repository cloned on your computer, use
git fetch
to fetch any updates hosted on github and then usegit pull
to pull down any existing changes to your local clone. - Start a new branch:
git branch new-feature-branch
- Commit changes to the new branch in your local clone
- Push changes to github and make a Pull Request to merge your new branch with the main branch.
- have someone review the pull request and approve merge.
- After the PR is merged, delete your new branch.