From ce5cfd31fdce285479c19a4949b0110dbd9f2d6e Mon Sep 17 00:00:00 2001 From: gbaconni Date: Fri, 5 Nov 2021 14:14:37 +0100 Subject: [PATCH] Improve README --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c4d43f..e537b64 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,13 @@ Below replace "marvin" with your 42 Network login. USER="marvin" ./set_header.sh ``` -In all your git repositories: +If you want to setup the same email and username for all your git: +``` +git config --global user.name gbaconni +git config --global user.email gbaconni@student.42lausanne.ch +``` + +Otherwise setup it on a case-by-case basic: ``` git clone git@... project cd project @@ -47,7 +53,13 @@ test -d ~/.vim/plugin || mkdir -p ~/.vim/plugin cp -va vim/stdheader.vim ~/.vim/plugin ``` -In all your git repositories: +If you want to setup the same email and username for all your git: +``` +git config --global user.name gbaconni +git config --global user.email gbaconni@student.42lausanne.ch +``` + +Otherwise setup it on a case-by-case basic: ``` git clone git@... project cd project