git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git [2023/10/25 06:02] – odefta | git [2025/01/02 20:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 27: | Line 27: | ||
====== Sync fork with original repo ====== | ====== Sync fork with original repo ====== | ||
+ | < | ||
git remote add upstream https:// | git remote add upstream https:// | ||
git stash | git stash | ||
git checkout master | git checkout master | ||
git fetch upstream | git fetch upstream | ||
- | git rebase | + | git merge upstream/ |
git stash pop | git stash pop | ||
+ | </ | ||
+ | |||
+ | ====== Merge changes form master branch in current branch ====== | ||
+ | |||
+ | < | ||
+ | git.exe merge remotes/ | ||
+ | </ | ||
+ | |||
git.1698202930.txt.gz · Last modified: 2023/10/25 06:02 by odefta