diff --git a/2021/2021-03-18_basicGitTraining/slides/cloneRepo.md b/2021/2021-03-18_basicGitTraining/slides/cloneRepo.md index c5ded98da9ffaa924e192dd0315c6ab7f893dc42..dac03e4c8148a55f7a5a9e55c1e39a63022d0d05 100644 --- a/2021/2021-03-18_basicGitTraining/slides/cloneRepo.md +++ b/2021/2021-03-18_basicGitTraining/slides/cloneRepo.md @@ -3,12 +3,12 @@ You have to `clone` it first: ```bash -$ git clone ssh://git@git-r3lab-server.uni.lu:8022/<groupName>/myRepo.git myRepo +$ git clone git@github.com:LCSB-BioCore/basic-git-practice.git ``` If you did not configure your SSH key, clone using HTTPS: ```bash -$ git clone https://git-r3lab.uni.lu/<groupName>/myRepo.git myRepo +$ git clone https://github.com/LCSB-BioCore/basic-git-practice.git ``` You will be prompted to enter your credentials. diff --git a/2021/2021-03-18_basicGitTraining/slides/essential_commands.md b/2021/2021-03-18_basicGitTraining/slides/essential_commands.md index d226a407100cee907f6eb668d6078c7ee66ff4ea..8e1e0f643a6df3ed7a3099381c616d70b919faca 100644 --- a/2021/2021-03-18_basicGitTraining/slides/essential_commands.md +++ b/2021/2021-03-18_basicGitTraining/slides/essential_commands.md @@ -16,6 +16,7 @@ $ git push <remote> <branch> + # Pull the latest version of an existing branch Pull the latest revision on branch `myBranch`: @@ -31,6 +32,8 @@ Verify its `status` with: $ git status ``` + + # Modify a file Copy the file `firstnameLastname.md` in the folder `_attendees` and rename it with your firstname: diff --git a/2021/2021-03-18_basicGitTraining/slides/forks.md b/2021/2021-03-18_basicGitTraining/slides/forks.md index f99669460e5a6001c6c369a300d10ec8a61dcc19..c01b942da67f60770d992fde12d63ec62248749b 100644 --- a/2021/2021-03-18_basicGitTraining/slides/forks.md +++ b/2021/2021-03-18_basicGitTraining/slides/forks.md @@ -61,6 +61,8 @@ If you did not configure your SSH key, clone using HTTPS: $ git clone https://github.com/<yourName>/basic-git-practice.git ``` + + # A note on shortcuts ... <font color="red"> @@ -71,6 +73,8 @@ Any other rudimentary method such as shall **be avoided**! </font> +<br> + **Why?**