From 5ab3921c4377bb837e1b608c77f3164ddb92dba6 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 21 May 2024 08:44:25 +0200 Subject: [PATCH] update git --- technology/dev/Git.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/technology/dev/Git.md b/technology/dev/Git.md index 972109b..3908973 100644 --- a/technology/dev/Git.md +++ b/technology/dev/Git.md @@ -201,6 +201,9 @@ git remote [-v | --verbose] update [-p | --prune] [( | )...] Pull from a reposity: ```shell git pull + +# Rebase instead of merge (append your commit if remote is newer) +git pull --rebase ``` Push to a repository: