mirror of https://github.com/CrimsonTome/tldr.git
docs: suggest auto setup remote in contributing-guides/git-terminal (#12273)
parent
57bb8eab75
commit
de21eacc1c
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue