docs: suggest auto setup remote in contributing-guides/git-terminal (#12273)
This commit is contained in:
@@ -26,6 +26,9 @@ The overall process should look somewhat like this:
|
|||||||
6. Push the commit(s) to your fork:
|
6. Push the commit(s) to your fork:
|
||||||
`git push -u origin HEAD`
|
`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]
|
> [!WARNING]
|
||||||
> Please avoid force-pushing since it makes the review process harder.
|
> Please avoid force-pushing since it makes the review process harder.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user