mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 16:15:36 +02:00
docs: suggest auto setup remote in contributing-guides/git-terminal (#12273)
This commit is contained in:
parent
57bb8eab75
commit
de21eacc1c
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue