Timeline for What is "origin" in Git?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 25, 2024 at 10:36 | comment | added | ManojRawat | Why do we provide 'origin' even when the remote branch does not exist ? | |
| Aug 11, 2019 at 3:33 | comment | added | Kenmore |
@Mugen In the docs for git push you can see that it first checks the config for that repository (which you can check with git config --list) for a key called branch.<branchname>.remote. If that's not set, "it defaults to origin" - git-scm.com/docs/git-push
|
|
| Jul 28, 2019 at 13:47 | comment | added | Mugen | What if I omit the "origin" keyword? When we say "git push", isn't it anyway going to push all commits to the remote repository? Adding the keyword "origin" seems redundant. | |
| Nov 25, 2017 at 13:59 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Active reading. [ <http://en.wikipedia.org/wiki/Uniform_resource_locator>].
|
| Jul 21, 2017 at 7:07 | comment | added | Ed Peguillan III | Can a single remote be an alias for multiple other remotes? What if I wanted one remote to push to multiple other remotes? For example, push to a primary repo, and a push to a backup repo? Would that be a reasonable thing to want in some situations? EDIT: There are several solutions here. | |
| Sep 10, 2015 at 21:27 | history | edited | Josh1billion | CC BY-SA 3.0 |
fixed typo
|
| Jul 1, 2015 at 0:55 | history | edited | nbro | CC BY-SA 3.0 |
added 34 characters in body
|
| Jul 1, 2015 at 0:47 | history | edited | nbro | CC BY-SA 3.0 |
added 34 characters in body
|
| S Sep 7, 2014 at 4:36 | history | suggested | onionjake | CC BY-SA 3.0 |
Add explanation about git remote -v
|
| Sep 7, 2014 at 4:09 | review | Suggested edits | |||
| S Sep 7, 2014 at 4:36 | |||||
| Apr 10, 2014 at 11:29 | review | Suggested edits | |||
| Apr 10, 2014 at 11:31 | |||||
| Apr 10, 2014 at 11:26 | review | Suggested edits | |||
| Apr 10, 2014 at 11:28 | |||||
| Mar 2, 2012 at 7:43 | vote | accept | enchance | ||
| Mar 2, 2012 at 7:25 | history | answered | doelleri | CC BY-SA 3.0 |