Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
git_gitea [30/03/2025 - 08:08] – thommie_netzwissen.de | git_gitea [25/04/2025 - 09:09] (aktuell) – [Remote Repos] thommie_netzwissen.de | ||
---|---|---|---|
Zeile 32: | Zeile 32: | ||
===== Remote Repos ===== | ===== Remote Repos ===== | ||
- | " | + | " |
**Kontrolle der Remote Ziele " | **Kontrolle der Remote Ziele " | ||
- | |||
< | < | ||
git remote -v | git remote -v | ||
Zeile 49: | Zeile 48: | ||
* origin = persönliches git Repo auf Github. Die kann ein privater Fork eines öffentlichen Repos auf github sein. | * origin = persönliches git Repo auf Github. Die kann ein privater Fork eines öffentlichen Repos auf github sein. | ||
+ | * upstream = Master repo, eigene commits landen dort per Pull Request | ||
+ | |||
+ | Aus [[https:// | ||
+ | |||
+ | ===== Fix upstream branch errors with autoSetupRemote ===== | ||
+ | |||
+ | If you constantly run into Git's fatal " | ||
+ | < | ||
+ | |||
+ | This is done by setting the push.autoSetupRemote option in any of [[https:// | ||
+ | |||
+ | ===== How to set push.autoSetupRemote ===== | ||
+ | |||
+ | To tell Git to automatically create new branches in remote repositories upon a push, simply issue the following command: | ||
+ | < | ||
+ | |||
+ | With that configuration setting in place, you'll never have to push with the | ||
+ | < | ||
+ | |||
===== öffentliche Repos: Kollaboration ===== | ===== öffentliche Repos: Kollaboration ===== |