From 75d28699d478f518dfab5005a42a1247d2e200db Mon Sep 17 00:00:00 2001 From: Jeremy Lloyd Conlin Date: Tue, 17 Jan 2017 09:21:06 -0700 Subject: [PATCH 1/3] Adding LA-CC to footer. --- _includes/footer.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 7bf1a07e..644f0068 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -13,11 +13,7 @@ From 7e673cc33faf5a2028086163b21c9ba9580687ab Mon Sep 17 00:00:00 2001 From: Jeremy Lloyd Conlin Date: Tue, 17 Jan 2017 09:41:07 -0700 Subject: [PATCH 2/3] Fixing markup typo. I thought markdown would work here, but it doesn't. --- _includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/footer.html b/_includes/footer.html index 644f0068..41ecc8c1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -13,7 +13,7 @@ From 9a9fd02407b5cedbb0d1dd837143187e96dbdea8 Mon Sep 17 00:00:00 2001 From: Jeremy Lloyd Conlin Date: Tue, 17 Jan 2017 10:00:31 -0700 Subject: [PATCH 3/3] Adding some information about not pushing to this remote. --- README-jekyll.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README-jekyll.md b/README-jekyll.md index b67dd8d1..00a2b588 100644 --- a/README-jekyll.md +++ b/README-jekyll.md @@ -7,5 +7,19 @@ This repository contains the required stuff to make the NJOY website and keep it ## Using jekyll-website For all projects under the NJOY organization, this repository should be created as a git 'subtree' in the `docs` directory. This will ensure consistency across all the projects as well as make the documentation for each accessible from the website. +In order to prevent pushing to this repository one should set the push url for this remote in git like this: + +```bash +git remote set-url --push no_push +``` +Here `` is the name of the remote (probably `jekyll`). What this tells git is whenever you try to push to this remote, simply push to the url `no_push` which doesn't exist. + +Alternatively, you can set the push url to the url of the remote of the real repository like: + +```bash +git remote set-url --push jekyll git@github.com:njoy/njoy.github.io.git +``` +as is done for the [njoy.github.io](https://github.com/njoy/njoy.github.io) repository. + ## License This repository---and all repositories under the NJOY organization---are licensed according to the [LICENSE](LICENSE.md) file