From 7f3f58f928c8345cd347aaf22737619cb7f6a790 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Wed, 13 Oct 2021 12:14:24 +0000 Subject: [PATCH] Added instructions on how to commit as yourself while using tangosys --- Jupyter_Pages/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jupyter_Pages/README.md b/Jupyter_Pages/README.md index 1eb758e..03c69ce 100644 --- a/Jupyter_Pages/README.md +++ b/Jupyter_Pages/README.md @@ -5,9 +5,11 @@ To commit updates when running this from a station's Jupyter Notebook, do: ssh tangosys@station cd git/tango/jupyter-notebooks/python_test_scripts/Jupyter_Pages -And then commit changes: +If you cannot login as lofarsys, ask for your public key to be added to `~tangosys/.ssh/authorized_keys`. + +Git commits require you to state your identity, as to know who did this commit: git add <notebook>.ipynb # add file to commit list - git commit -m "i added this very cool notebook update" + GIT_AUTHOR_NAME="Your Name" GIT_AUTHOR_EMAIL="you@astron.nl" git commit -m "i added this very cool notebook update" -If you cannot login as lofarsys, ask for your public key to be added to `~tangosys/.ssh/authorized_keys`. +If you don't do this, ``git`` will tempt you to configure the name and email permanently. Doing so means all checkins from this system will be done under your name, however. -- GitLab