1
0
Fork 0
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:
Waldir Pimenta 2017-01-15 16:02:42 +00:00 committed by Agniva De Sarker
parent 5e6ee61bb7
commit 83db189282

View file

@ -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}}`