From 2c33ad6042fa4d8aa43dbcc35af15f6ce197e2b1 Mon Sep 17 00:00:00 2001 From: Johan Date: Tue, 6 Jun 2023 20:22:13 +0200 Subject: [PATCH] Update Git cheat sheet --- Git cheat sheet.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Git cheat sheet.md b/Git cheat sheet.md index ec5fc51..284acf9 100644 --- a/Git cheat sheet.md +++ b/Git cheat sheet.md @@ -23,6 +23,11 @@ git pull origin master git branch --set-upstream-to=origin/master git pull + +#### Förhindra Git push + +git remote set-url --push origin no-pushing + #### Slå ihop flera repon #### Merge project-a into project-b: