克隆远程仓库时可选指定远程名,而不是用默认的 origin

This commit is contained in:
ZCShou 2020-07-17 10:00:37 +08:00
parent b5002cb89d
commit 232165fa3e
3 changed files with 35 additions and 7 deletions

View file

@ -6,7 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:helpers="clr-namespace:SourceGit.Helpers"
mc:Ignorable="d"
Width="500" Height="192">
Width="500" Height="224">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>
@ -14,6 +14,7 @@
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
<RowDefinition Height="16"/>
<RowDefinition Height="32"/>
</Grid.RowDefinitions>
@ -70,7 +71,15 @@
Text="{Binding LocalName, ElementName=me, Mode=TwoWay}">
</TextBox>
<Grid Grid.Row="6" Grid.ColumnSpan="2">
<Label Grid.Row="5" Grid.Column="0" HorizontalAlignment="Right" Content="Remote Name :"/>
<TextBox Grid.Row="5" Grid.Column="1"
VerticalContentAlignment="Center"
Height="24"
helpers:TextBoxHelper.Placeholder="Remote name. Optional."
Text="{Binding RemoteName, ElementName=me, Mode=TwoWay}">
</TextBox>
<Grid Grid.Row="7" Grid.ColumnSpan="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="80"/>