@@ -81,19 +81,20 @@ $ git-sim [global options] <subcommand> [subcommand options]
81
81
82
82
The ` [global options] ` apply to the overarching ` git-sim ` simulation itself, including:
83
83
84
- ` --light-mode ` : Use a light mode color scheme instead of default dark mode.
85
- ` --animate ` : Instead of outputting a static image, animate the Git command behavior in a .mp4 video.
86
- ` --reverse ` : Display commit history in the reverse direction.
84
+ ` --light-mode ` : Use a light mode color scheme instead of default dark mode.
85
+ ` --animate ` : Instead of outputting a static image, animate the Git command behavior in a .mp4 video.
86
+ ` --disable-auto-open, -d ` : Disable the automatic opening of the image/video file after generation.
87
+ ` --reverse, -r ` : Display commit history in the reverse direction.
87
88
88
89
Animation-only global options (to be used in conjunction with ` --animate ` ):
89
90
90
- ` --speed=n ` : Set the multiple of animation speed of the output simulation, ` n ` can be an integer or float, default is 1.
91
- ` --low-quality ` : Render the animation in low quality to speed up creation time, recommended for non-presentation use.
92
- ` --show-intro ` : Add an intro sequence with custom logo and title.
93
- ` --show-outro ` : Add an outro sequence with custom logo and text.
94
- ` --title=title ` : Custom title to display at the beginning of the animation.
95
- ` --logo=logo.png ` : The path to a custom logo to use in the animation intro/outro.
96
- ` --outro-top-text ` : Custom text to display above the logo during the outro.
91
+ ` --speed=n ` : Set the multiple of animation speed of the output simulation, ` n ` can be an integer or float, default is 1.
92
+ ` --low-quality ` : Render the animation in low quality to speed up creation time, recommended for non-presentation use.
93
+ ` --show-intro ` : Add an intro sequence with custom logo and title.
94
+ ` --show-outro ` : Add an outro sequence with custom logo and text.
95
+ ` --title=title ` : Custom title to display at the beginning of the animation.
96
+ ` --logo=logo.png ` : The path to a custom logo to use in the animation intro/outro.
97
+ ` --outro-top-text ` : Custom text to display above the logo during the outro.
97
98
` --outro-bottom-text ` : Custom text to display below the logo during the outro.
98
99
99
100
The ` [subcommand options] ` are like regular Git options specific to the specified subcommand (see below for a full list).
@@ -140,6 +141,7 @@ Usage: `git-sim commit -m "Commit message"`
140
141
- Specify your commit message after the -m option
141
142
- HEAD and the active branch will be moved to the new commit
142
143
- Simulated output will show files in the staging area being included in the new commit
144
+ - Supports amending the last commit with: `$ git-sim commit --amand -m "Amended commit message"
143
145
144
146
![ git-sim-commit_01-05-23_22-10-21] ( https://user-images.githubusercontent.com/49353917/210941149-d83677a1-3ab7-4880-bc0f-871b1f150087.jpg )
145
147
0 commit comments