Fossil SCM
Added the "What Changed?" section to the gitusers doc.
Commit
7c511caeccf09ce0796c1adc8e901b2a27152f31703fed711ecce98f81e52135
Parent
9cf1a1664e9f9d4…
1 file changed
+25
+25
| --- www/gitusers.md | ||
| +++ www/gitusers.md | ||
| @@ -533,10 +533,35 @@ | ||
| 533 | 533 | [cdiff]: https://www.colordiff.org/ |
| 534 | 534 | [dcset]: https://fossil-scm.org/home/help?cmd=diff-command |
| 535 | 535 | [dst]: https://invisible-island.net/diffstat/diffstat.html |
| 536 | 536 | |
| 537 | 537 | |
| 538 | +## <a id="whatchanged"></a> What Changed? | |
| 539 | + | |
| 540 | +As with `git show`, there is no `fossil whatchanged` command, but the | |
| 541 | +information is usually available. For example, to pull the current | |
| 542 | +changes from the remote repository and then inspect them before updating | |
| 543 | +the local working directory, you might say this in Git: | |
| 544 | + | |
| 545 | + git fetch | |
| 546 | + git whatchanged ..@{u} | |
| 547 | + | |
| 548 | +…which you can approximate in Fossil as: | |
| 549 | + | |
| 550 | + fossil pull | |
| 551 | + fossil diff --from tip | |
| 552 | + fossil timeline after current | |
| 553 | + | |
| 554 | +Note the use of [human-readable symbolic version names][scin] rather than | |
| 555 | +cryptic notations. | |
| 556 | + | |
| 557 | +To invert the diff direction of the second command, say: | |
| 558 | + | |
| 559 | + fossil diff --from current --to tip | |
| 560 | + | |
| 561 | +You can abbreviate the last command as `fossil tim after curr`. | |
| 562 | + | |
| 538 | 563 | |
| 539 | 564 | <a id="btnames"></a> |
| 540 | 565 | ## Branch and Tag Names |
| 541 | 566 | |
| 542 | 567 | Fossil has no special restrictions on the names of tags and branches, |
| 543 | 568 |
| --- www/gitusers.md | |
| +++ www/gitusers.md | |
| @@ -533,10 +533,35 @@ | |
| 533 | [cdiff]: https://www.colordiff.org/ |
| 534 | [dcset]: https://fossil-scm.org/home/help?cmd=diff-command |
| 535 | [dst]: https://invisible-island.net/diffstat/diffstat.html |
| 536 | |
| 537 | |
| 538 | |
| 539 | <a id="btnames"></a> |
| 540 | ## Branch and Tag Names |
| 541 | |
| 542 | Fossil has no special restrictions on the names of tags and branches, |
| 543 |
| --- www/gitusers.md | |
| +++ www/gitusers.md | |
| @@ -533,10 +533,35 @@ | |
| 533 | [cdiff]: https://www.colordiff.org/ |
| 534 | [dcset]: https://fossil-scm.org/home/help?cmd=diff-command |
| 535 | [dst]: https://invisible-island.net/diffstat/diffstat.html |
| 536 | |
| 537 | |
| 538 | ## <a id="whatchanged"></a> What Changed? |
| 539 | |
| 540 | As with `git show`, there is no `fossil whatchanged` command, but the |
| 541 | information is usually available. For example, to pull the current |
| 542 | changes from the remote repository and then inspect them before updating |
| 543 | the local working directory, you might say this in Git: |
| 544 | |
| 545 | git fetch |
| 546 | git whatchanged ..@{u} |
| 547 | |
| 548 | …which you can approximate in Fossil as: |
| 549 | |
| 550 | fossil pull |
| 551 | fossil diff --from tip |
| 552 | fossil timeline after current |
| 553 | |
| 554 | Note the use of [human-readable symbolic version names][scin] rather than |
| 555 | cryptic notations. |
| 556 | |
| 557 | To invert the diff direction of the second command, say: |
| 558 | |
| 559 | fossil diff --from current --to tip |
| 560 | |
| 561 | You can abbreviate the last command as `fossil tim after curr`. |
| 562 | |
| 563 | |
| 564 | <a id="btnames"></a> |
| 565 | ## Branch and Tag Names |
| 566 | |
| 567 | Fossil has no special restrictions on the names of tags and branches, |
| 568 |