docs:tips_n_tricks:git:index.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
docs:tips_n_tricks:git:index.html [12.05.2023 11:35 CEST] – peter | docs:tips_n_tricks:git:index.html [24.03.2024 01:30 CET] (current) – peter | ||
---|---|---|---|
Line 14: | Line 14: | ||
---- | ---- | ||
- | Preview((provided your working tree is clean)) '' | + | Preview((provided your working tree is clean)) '' |
git fetch origin master ; git diff -R --stat origin/ | git fetch origin master ; git diff -R --stat origin/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Preview((provided your working tree is clean)) '' | ||
+ | |||
+ | git fetch origin master ; git diff -R --diff origin/ | ||
---- | ---- | ||
Line 63: | Line 70: | ||
git push [--dry-run] < | git push [--dry-run] < | ||
+ | ---- | ||
+ | Reset file to any version from < | ||
+ | |||
+ | git checkout < | ||
+ | |||
+ | ---- | ||
+ | Show full contents of file < | ||
+ | |||
+ | git show < | ||
+ | |||
+ | __Credits__: | ||
---- | ---- | ||
{{entry> | {{entry> |
docs/tips_n_tricks/git/index.html.txt · Last modified: 24.03.2024 01:30 CET by peter