SGD 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global SGD --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local SGD --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SGD&version=1.0.0                
nuke :add-package SGD --version 1.0.0                

set-git-date

生成修改git提交时间的代码 仅用于powershell

$Env:GIT_COMMITTER_DATE="2022-1-1 0:55"
$Env:GIT_AUTHOR_DATE ="2022-1-1 0:55"
git commit -a -m "msg"

How to use

# install 
dotnet tool install --global SGD

# upgarde
dotnet tool update --global SGD

run in commandline

//修改为8小时前
sgd -8

//修改时间并生成提交代码
sgd -8 message
  • 右键粘贴代码
  • commit代码可以手动添加--amend
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.1 454 8/3/2022
1.0.0 452 7/21/2022