Fossil SCM

Added the "What Changed?" section to the gitusers doc.

wyoung 2020-11-01 21:12 trunk
Commit 7c511caeccf09ce0796c1adc8e901b2a27152f31703fed711ecce98f81e52135
1 file changed +25
--- www/gitusers.md
+++ www/gitusers.md
@@ -533,10 +533,35 @@
533533
[cdiff]: https://www.colordiff.org/
534534
[dcset]: https://fossil-scm.org/home/help?cmd=diff-command
535535
[dst]: https://invisible-island.net/diffstat/diffstat.html
536536
537537
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
+
538563
539564
<a id="btnames"></a>
540565
## Branch and Tag Names
541566
542567
Fossil has no special restrictions on the names of tags and branches,
543568
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button