Skip to content

Commit 9d7980c

Browse files
committed
#31 git credentials
1 parent 067021a commit 9d7980c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/user/tutorials/create_beamline.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ template repo, so that you can easily pull in changes from the template
7373
repo in the future.
7474

7575
#. Create a new, completely blank repository in your GitHub account
76-
called ``bl01t``. To do this got to https://github.com/new
76+
called ``bl01t``. To do this go to https://github.com/new
7777
and fill in the details as per the image below. Click
7878
``Create repository``.
7979

@@ -117,6 +117,14 @@ repo in the future.
117117
git commit -m "rename blxxi to bl01t"
118118
git push origin main
119119
120+
As this is your first commit you may find that you need to set your
121+
username and email address for git. If so, follow the instructions
122+
that git gives you. In theory this should be handled for you by
123+
vscode devcontainers but this does not always work.
124+
See `git in vscode`_.
125+
126+
.. _git in vscode: https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials
127+
120128
.. figure:: ../images/create_repo.png
121129

122130
Note that creating your project in this way means it is possible to
@@ -141,6 +149,7 @@ The example version below was the first revision in the month of April 2023.
141149
142150
cd bl01t
143151
git tag 23.4.1
152+
# push the tag
144153
git push origin 23.4.1
145154
146155
This will cause GitHub to create a release of the project and trigger

0 commit comments

Comments
 (0)