commit cdbb9a5ae44d233a512ffbd2936c23681250d151 Author: lenovo Date: Fri Aug 20 08:24:46 2021 +0800 测试git功能 diff --git a/.vs/GitTest/v15/.suo b/.vs/GitTest/v15/.suo new file mode 100644 index 0000000..3ec109e Binary files /dev/null and b/.vs/GitTest/v15/.suo differ diff --git a/.vs/GitTest/v15/Server/sqlite3/db.lock b/.vs/GitTest/v15/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/GitTest/v15/Server/sqlite3/storage.ide b/.vs/GitTest/v15/Server/sqlite3/storage.ide new file mode 100644 index 0000000..56758a8 Binary files /dev/null and b/.vs/GitTest/v15/Server/sqlite3/storage.ide differ diff --git a/.vs/GitTest/v15/Server/sqlite3/storage.ide-shm b/.vs/GitTest/v15/Server/sqlite3/storage.ide-shm new file mode 100644 index 0000000..84fe7b7 Binary files /dev/null and b/.vs/GitTest/v15/Server/sqlite3/storage.ide-shm differ diff --git a/.vs/GitTest/v15/Server/sqlite3/storage.ide-wal b/.vs/GitTest/v15/Server/sqlite3/storage.ide-wal new file mode 100644 index 0000000..569f2f1 Binary files /dev/null and b/.vs/GitTest/v15/Server/sqlite3/storage.ide-wal differ diff --git a/GitTest.sln b/GitTest.sln new file mode 100644 index 0000000..e072def --- /dev/null +++ b/GitTest.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1433 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTest", "GitTest\GitTest.csproj", "{3ACB4B54-C0D2-4660-80FC-AE8D705B3FE8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3ACB4B54-C0D2-4660-80FC-AE8D705B3FE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3ACB4B54-C0D2-4660-80FC-AE8D705B3FE8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3ACB4B54-C0D2-4660-80FC-AE8D705B3FE8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3ACB4B54-C0D2-4660-80FC-AE8D705B3FE8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0554B606-69B0-49F4-A516-155635D97F6A} + EndGlobalSection +EndGlobal diff --git a/GitTest/App.config b/GitTest/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/GitTest/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/GitTest/App.xaml b/GitTest/App.xaml new file mode 100644 index 0000000..3ec98b2 --- /dev/null +++ b/GitTest/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/GitTest/App.xaml.cs b/GitTest/App.xaml.cs new file mode 100644 index 0000000..43ef103 --- /dev/null +++ b/GitTest/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace GitTest +{ + /// + /// App.xaml 的交互逻辑 + /// + public partial class App : Application + { + } +} diff --git a/GitTest/GitTest.csproj b/GitTest/GitTest.csproj new file mode 100644 index 0000000..a1f31b0 --- /dev/null +++ b/GitTest/GitTest.csproj @@ -0,0 +1,98 @@ + + + + + Debug + AnyCPU + {3ACB4B54-C0D2-4660-80FC-AE8D705B3FE8} + WinExe + GitTest + GitTest + v4.6.1 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + \ No newline at end of file diff --git a/GitTest/MainWindow.xaml b/GitTest/MainWindow.xaml new file mode 100644 index 0000000..bce82f9 --- /dev/null +++ b/GitTest/MainWindow.xaml @@ -0,0 +1,13 @@ + + + + diff --git a/GitTest/MainWindow.xaml.cs b/GitTest/MainWindow.xaml.cs new file mode 100644 index 0000000..4f90d6e --- /dev/null +++ b/GitTest/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace GitTest +{ + /// + /// MainWindow.xaml 的交互逻辑 + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/GitTest/Properties/AssemblyInfo.cs b/GitTest/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a42874e --- /dev/null +++ b/GitTest/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("GitTest")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("GitTest")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +//若要开始生成可本地化的应用程序,请设置 +//.csproj 文件中的 CultureYouAreCodingWith +//例如,如果您在源文件中使用的是美国英语, +//使用的是美国英语,请将 设置为 en-US。 然后取消 +//对以下 NeutralResourceLanguage 特性的注释。 更新 +//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。 + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //主题特定资源词典所处位置 + //(未在页面中找到资源时使用, + //或应用程序资源字典中找到时使用) + ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置 + //(未在页面中找到资源时使用, + //、应用程序或任何主题专用资源字典中找到时使用) +)] + + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 +// 方法是按如下所示使用“*”: : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GitTest/Properties/Resources.Designer.cs b/GitTest/Properties/Resources.Designer.cs new file mode 100644 index 0000000..e162181 --- /dev/null +++ b/GitTest/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace GitTest.Properties +{ + + + /// + /// 强类型资源类,用于查找本地化字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 返回此类使用的缓存 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GitTest.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 覆盖当前线程的 CurrentUICulture 属性 + /// 使用此强类型的资源类的资源查找。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/GitTest/Properties/Resources.resx b/GitTest/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/GitTest/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/GitTest/Properties/Settings.Designer.cs b/GitTest/Properties/Settings.Designer.cs new file mode 100644 index 0000000..2ec2b49 --- /dev/null +++ b/GitTest/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GitTest.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/GitTest/Properties/Settings.settings b/GitTest/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/GitTest/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/GitTest/obj/Debug/App.g.i.cs b/GitTest/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..e529beb --- /dev/null +++ b/GitTest/obj/Debug/App.g.i.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C7B104EBD31A9EB94D5BF81AD9E42438F94581BC" +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +using GitTest; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace GitTest { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + + #line 5 "..\..\App.xaml" + this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + GitTest.App app = new GitTest.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/GitTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/GitTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..0d18c11 Binary files /dev/null and b/GitTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/GitTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/GitTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..acb1c84 Binary files /dev/null and b/GitTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/GitTest/obj/Debug/GitTest.csproj.CoreCompileInputs.cache b/GitTest/obj/Debug/GitTest.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..f96eb24 --- /dev/null +++ b/GitTest/obj/Debug/GitTest.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +050c1e13c901f9448b0b0a3ad7768ebcd96cff7b diff --git a/GitTest/obj/Debug/GitTest.csprojAssemblyReference.cache b/GitTest/obj/Debug/GitTest.csprojAssemblyReference.cache new file mode 100644 index 0000000..8ff1a2a Binary files /dev/null and b/GitTest/obj/Debug/GitTest.csprojAssemblyReference.cache differ diff --git a/GitTest/obj/Debug/GitTest_MarkupCompile.i.cache b/GitTest/obj/Debug/GitTest_MarkupCompile.i.cache new file mode 100644 index 0000000..1dd69c5 --- /dev/null +++ b/GitTest/obj/Debug/GitTest_MarkupCompile.i.cache @@ -0,0 +1,20 @@ +GitTest + + +winexe +C# +.cs +D:\Documents\Visual Studio 2017\Projects\GitTest\GitTest\obj\Debug\ +GitTest +none +false +DEBUG;TRACE +D:\Documents\Visual Studio 2017\Projects\GitTest\GitTest\App.xaml +11151548125 + +9-542791165 +131569487696 +MainWindow.xaml; + +True + diff --git a/GitTest/obj/Debug/GitTest_MarkupCompile.i.lref b/GitTest/obj/Debug/GitTest_MarkupCompile.i.lref new file mode 100644 index 0000000..4b42015 --- /dev/null +++ b/GitTest/obj/Debug/GitTest_MarkupCompile.i.lref @@ -0,0 +1,4 @@ + + +FD:\Documents\Visual Studio 2017\Projects\GitTest\GitTest\MainWindow.xaml;; + diff --git a/GitTest/obj/Debug/MainWindow.g.i.cs b/GitTest/obj/Debug/MainWindow.g.i.cs new file mode 100644 index 0000000..25f8056 --- /dev/null +++ b/GitTest/obj/Debug/MainWindow.g.i.cs @@ -0,0 +1,75 @@ +#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6DEA63779B22209D5B801CBC9D14516BFA5A5883" +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +using GitTest; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace GitTest { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/GitTest;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/GitTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/GitTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/GitTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/GitTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/GitTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/GitTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29