From a042bd1a7e69b61ffd8c94406da22eb3dcfbf2a7 Mon Sep 17 00:00:00 2001 From: Grigorij Schleifer <36699154+GrigorijSchleifer@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:32:04 +0200 Subject: [PATCH] pull vs fetch and understanding checkout --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be471fa..9f42828 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ arrange(desc(row_number())) # 03.08.24/05.08.24/06.08.24 +This (video)[https://www.youtube.com/watch?v=T13gDBXarj0&t=265s] is the best example of merging and pulling that I have seen so far. + + I am stuck again while trying to move a cloned repository that I found on the internet (a copy of a book coded in bookdown) to a repository I created on Github. First of all I deleted the remotes that came with the cloned repository (didn`t know that remotes need to be deleted) and added new remote "pointer" that where the url of my new repository. ```bash @@ -34,7 +37,7 @@ git remote -v # origin https://github.com/GrigorijSchleifer/Medizinische-Informatik.git (push) ``` -Next, I fetched the content from the bookdown-demo to my local repository +Next, I fetched the content from the bookdown-demo to my local repository. ```bash # the pointer to the remote of the bookdown-demo is named book