Fossil SCM

Small tweaks to previous.

wyoung 2020-10-03 01:53 trunk
Commit e67c413d505071c2936bc6d8e52de50d80a87df0aff8851dfb9fb93d1e7e966f
1 file changed +10 -3
+10 -3
--- www/gitusers.md
+++ www/gitusers.md
@@ -314,13 +314,20 @@
314314
afternoon to sync up via the dev server:
315315
316316
git push work master # send your changes from home up
317317
git pull work master # get your coworkers’ changes
318318
319
-Because we didn’t use `--set-upstream/-u` here, we have to name the
320
-“work” origin explicitly in these commands. (This also shows Git’s
321
-unwillingness to sync branch names, covered elsewhere in this document.)
319
+Alternately, we could add “`--set-upstream/-u work`” to the first
320
+command if we were coming into work long enough to do several Git-based things, not just pop in and sync.
321
+That would allow the second to be just “`git pull`”, but the cost is
322
+that when returning home, you’d have to manually reset the upstream
323
+again.
324
+
325
+This example also shows a consequence of that fact that
326
+[Git doesn’t sync branch names](#syncall): you have to keep repeating
327
+yourself, “master, master.”
328
+
322329
323330
### Fossil Method
324331
325332
Now we’re going to do the same thing as above using Fossil. We’ve broken
326333
the commands up into blocks corresponding to those above for comparison.
327334
--- www/gitusers.md
+++ www/gitusers.md
@@ -314,13 +314,20 @@
314 afternoon to sync up via the dev server:
315
316 git push work master # send your changes from home up
317 git pull work master # get your coworkers’ changes
318
319 Because we didn’t use `--set-upstream/-u` here, we have to name the
320 “work” origin explicitly in these commands. (This also shows Git’s
321 unwillingness to sync branch names, covered elsewhere in this document.)
 
 
 
 
 
 
 
322
323 ### Fossil Method
324
325 Now we’re going to do the same thing as above using Fossil. We’ve broken
326 the commands up into blocks corresponding to those above for comparison.
327
--- www/gitusers.md
+++ www/gitusers.md
@@ -314,13 +314,20 @@
314 afternoon to sync up via the dev server:
315
316 git push work master # send your changes from home up
317 git pull work master # get your coworkers’ changes
318
319 Alternately, we could add “`--set-upstream/-u work`” to the first
320 command if we were coming into work long enough to do several Git-based things, not just pop in and sync.
321 That would allow the second to be just “`git pull`”, but the cost is
322 that when returning home, you’d have to manually reset the upstream
323 again.
324
325 This example also shows a consequence of that fact that
326 [Git doesn’t sync branch names](#syncall): you have to keep repeating
327 yourself, “master, master.”
328
329
330 ### Fossil Method
331
332 Now we’re going to do the same thing as above using Fossil. We’ve broken
333 the commands up into blocks corresponding to those above for comparison.
334

Keyboard Shortcuts

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