mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-28 23:54:59 +00:00
feature: support to enable --squash
and --push
option while finishing git-flow branches (#1290)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
e8bf58f6c3
commit
ebe0e61367
6 changed files with 47 additions and 6 deletions
|
@ -19,7 +19,7 @@
|
|||
Classes="bold"
|
||||
Text="{DynamicResource Text.GitFlow.FinishHotfix}"
|
||||
IsVisible="{Binding IsHotfix}"/>
|
||||
<Grid Margin="0,16,0,0" RowDefinitions="32,32" ColumnDefinitions="150,*">
|
||||
<Grid Margin="0,16,0,0" RowDefinitions="32,32,32,32" ColumnDefinitions="150,*">
|
||||
<TextBlock Grid.Row="0" Grid.Column="0"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
Margin="0,0,8,0"
|
||||
|
@ -30,8 +30,19 @@
|
|||
</StackPanel>
|
||||
|
||||
<CheckBox Grid.Row="1" Grid.Column="1"
|
||||
Content="{DynamicResource Text.GitFlow.FinishWithSquash}"
|
||||
IsChecked="{Binding Squash, Mode=TwoWay}"
|
||||
ToolTip.Tip="--squash"/>
|
||||
|
||||
<CheckBox Grid.Row="2" Grid.Column="1"
|
||||
Content="{DynamicResource Text.GitFlow.FinishWithPush}"
|
||||
IsChecked="{Binding AutoPush, Mode=TwoWay}"
|
||||
ToolTip.Tip="--push"/>
|
||||
|
||||
<CheckBox Grid.Row="3" Grid.Column="1"
|
||||
Content="{DynamicResource Text.GitFlow.KeepBranchAfterFinish}"
|
||||
IsChecked="{Binding KeepBranch, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding KeepBranch, Mode=TwoWay}"
|
||||
ToolTip.Tip="-k"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue