From de21eacc1c7f9a2161b941368f31df9a390dbf3b Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Thu, 15 Feb 2024 03:31:24 -0300 Subject: [PATCH] docs: suggest auto setup remote in contributing-guides/git-terminal (#12273) --- contributing-guides/git-terminal.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contributing-guides/git-terminal.md b/contributing-guides/git-terminal.md index 86304f82c..319c404bc 100644 --- a/contributing-guides/git-terminal.md +++ b/contributing-guides/git-terminal.md @@ -26,6 +26,9 @@ The overall process should look somewhat like this: 6. Push the commit(s) to your fork: `git push -u origin HEAD` +7. If you want to avoid setting the upstream every time and just run `git push`: + `git config push.autoSetupRemote true` + > [!WARNING] > Please avoid force-pushing since it makes the review process harder.