Posted to tcl by sebres at Thu Nov 08 17:18:46 GMT 2018view raw

  1. $ git-rebase2fossil --help
  2.  
  3. Rebase branch from git to fossil.
  4. Copyright (C) 2015- by Sergey G. Brester aka sebres.
  5.  
  6.  
  7. Usage:
  8.  
  9. git-rebase2fossil [<options>] <git-revision-range>
  10.  
  11. Options:
  12.  
  13. --fossil-branch <fossil branch> - branch to commit in fossil (auto-created if not exists, default current branch)
  14. -fb <fossil branch>
  15.  
  16. --git-branch <git branch> - branch in git used for rebase process (default rebase2fossil/tmp)
  17. -b <git branch>
  18.  
  19. --to <fossil path>
  20. --fossil-path <fossil path> - export path to fossil working copy where to rebase to (default current folder)
  21. -t <fossil path>
  22.  
  23. --from <git path>
  24. --git-path <git path> - import path to git working copy (rebase from, default current folder)
  25. -f <git path>
  26.  
  27. --diff-tree <diff-tree-args> - arguments to get git diff-tree (default -m (include files from merge-commits))
  28.  
  29.  
  30. --git-log <args> - arguments to retrieve revision list from git (using "git log"), for example
  31. commits of author can be filtered with --git-log "--author=name"
  32.  
  33. --mode <mode> - mode used to transmit files (default "patch"), unsafe if mode "copy" used
  34. -md <mode>
  35.  
  36. --short - short output during test (no file listing, etc)
  37. -s
  38.  
  39. --ignore-files <mask-list> - ignore files masks (as tcl valid list)
  40. -i
  41.  
  42. --ignore-revs <list> - ignore commits
  43. --ignore-commits <list>
  44.  
  45. --go - do the rebase (default test only)
  46. -go
  47.  
  48. Example:
  49.  
  50. git-rebase2fossil master..HEAD
  51.