docs: suggest auto setup remote in contributing-guides/git-terminal (#12273)

This commit is contained in:
Vitor Henrique 2024-02-15 03:31:24 -03:00 committed by GitHub
parent 57bb8eab75
commit de21eacc1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.