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/06/22 00:27] (current) – odefta | ||
---|---|---|---|
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/ | ||
+ | </ | ||
+ | ====== Commit with another date ====== | ||
+ | < | ||
+ | GIT_AUTHOR_DATE=" | ||
+ | </ | ||
+ | ====== Get all log details (including committer date) ====== | ||
+ | < | ||
+ | git log --pretty=fuller | ||
+ | </ |
git.1698202930.txt.gz · Last modified: 2023/10/25 06:02 by odefta