mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 20:15:25 +02:00
git-branch: change "upstream" --> "remote"
"upstream" is often used as a synonym for "remote", but we probably should avoid promoting that equivalence, since the terms "upstream" and "downstream" have specific meanings in the context of software dependency, which don't necessarily map with the meanings of "local" and "remote" in the context of computer networks in general (and distributed networks of git repositories in particular).
This commit is contained in:
parent
5e6ee61bb7
commit
83db189282
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# git push
|
||||
|
||||
> Push commits to a remote (upstream) repository.
|
||||
> Push commits to a remote repository.
|
||||
|
||||
- Send local changes in the current branch to its remote counterpart:
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
|
||||
`git push {{remote_name}} {{local_branch}}`
|
||||
|
||||
- Publish the current branch to a remote repository, setting the upstream branch name:
|
||||
- Publish the current branch to a remote repository, setting the remote branch name:
|
||||
|
||||
`git push {{remote_name}} -u {{remote_branch}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue