From ab4a2d8b6872b06c3565827eb9961d7dbe82d530 Mon Sep 17 00:00:00 2001 From: Carine Rey <carine.rey@ens-lyon.fr> Date: Fri, 21 Feb 2020 14:58:00 +0100 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fdbd87..8badfeb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ -```{bash} +# Exemple of minimal git repository + +First create your new project, for exemple "project_name" in your team group + +Then in a terminal, setup your git global config + +``` +git config --global user.name "Carine Rey" +git config --global user.email "carine.rey@ens-lyon.fr" +``` +Copy the depot template in your new project + +```{bash} NEW_DEPOT=git@gitbio.ens-lyon.fr:LBMC/team/project_name.git NEW_NAME=$(basename $NEW_DEPOT) @@ -20,7 +32,11 @@ touch README.md git add -f * .gitignore git commit -m "initial commit" +``` +Finally, push your depot with the initial template + +```{bash} git push ``` -- GitLab