diff --git a/README.md b/README.md index 6fdbd874ea71398824ecc5822ba64ccf86eb9f98..8badfebc04a200e61d32aa24c0f0eda54fda1ae5 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 ```