About branch synchronization
You can sync your local branch with the remote repository by pulling any commits that have been added to the branch on GitHub since the last time you synced. If you make commits from another device or if multiple people contribute to a project, you will need to sync your local branch to keep the branch updated.
When you pull to your local branch, you only update your local copy of the repository. To update your branch on GitHub, you must push your changes. For more information, see "Pushing changes to GitHub."
To add changes from one branch to another branch, you can merge the branches. To apply changes to your branch from another branch in the same repository, you can merge the other branch into your branch on GitHub Desktop. To request that changes from your branch are merged into another branch, in the same repository or in another repository in the network, you can create a pull request on GitHub Desktop. For more information, see "Merging another branch into your project branch" and "About pull requests."
Some workflows require or benefit from rebasing instead of merging. Durch das Rebasing können Sie Commits neu anordnen, bearbeiten oder zusammen squashen. For more information, see "About Git rebase" and "Rebasing your project branch onto another branch."
Pulling to your local branch from the remote
- In GitHub Desktop, use the Current Branch drop-down, and select the local branch you want to update.
- To check for commits on the remote branch, click Fetch origin

- To pull any commits from the remote branch, click Pull origin or Pull origin with rebase.

- Behebe Mergekonflikte auf Deine bevorzugte Weise mithilfe eines Texteditors, der Befehlszeile oder eines anderen Tools. For more information, see "Addressing merge conflicts."
Merging another branch into your project branch
-
In GitHub Desktop, click Current Branch.

-
Klicke auf Choose a branch to merge into BRANCH (Branch für das Mergen in BRANCH auswählen).

-
Klicke auf den Branch, den Du in den aktuellen Branch zusammenführen möchtest. Klicke anschließend auf Merge BRANCH into BRANCH (BRANCH in BRANCH mergen).
Hinweis: Bei Mergekonflikten werden Sie oberhalb der Schaltfläche Merge BRANCH into BRANCH (Branch in Branch mergen) von GitHub Desktop gewarnt. Sie können die Branches erst mergen, nachdem Sie alle Konflikte behoben haben.

-
Click Push origin to push your local changes to the remote repository.

Rebasing your project branch onto another branch
- In the menu bar, use the Branch drop-down and click Rebase Current Branch.

- Klicke auf den Branch, den Du als neue Basis für den aktuellen Branch setzen möchtest, und klicke anschließend auf Start rebase (Rebase starten).

- Wenn Du sicher bist, dass Du ein Rebasing vornehmen möchtest, klicke auf Begin rebase (Rebase beginnen).

- Behebe Mergekonflikte auf Deine bevorzugte Weise mithilfe eines Texteditors, der Befehlszeile oder eines anderen Tools. For more information, see "Addressing merge conflicts."
- To push your local changes, click Force push origin.

- Verwende das Dropdown-Menü Branch, und klicke auf Rebase Current Branch (Aktuellen Branch auf neue Basis legen).

- Klicke auf den Branch, den Du als neue Basis für den aktuellen Branch setzen möchtest, und klicke anschließend auf Start rebase (Rebase starten).

- Wenn Du sicher bist, dass Du ein Rebasing vornehmen möchtest, klicke auf Begin rebase (Rebase beginnen).

- Behebe Mergekonflikte auf Deine bevorzugte Weise mithilfe eines Texteditors, der Befehlszeile oder eines anderen Tools. For more information, see "Addressing merge conflicts."
- Klicke zum Übertragen Deiner lokalen Änderungen per Push auf Force push origin (Ursprungs-Push erzwingen).


Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
