dotnet-autocommit 1.1.1

dotnet tool install --global dotnet-autocommit --version 1.1.1                
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 dotnet-autocommit --version 1.1.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-autocommit&version=1.1.1                
nuke :add-package dotnet-autocommit --version 1.1.1                

Are you like me and do you often screw yourself over by undoing just a bit too much, or forgetting to commit that one crucial part of the code you're writing? 😔

No more! I got your back! 💪😤

GitAutoCommit can automatically commit changes to git on a set interval to a separate dev branch, ending with a squash merge with a custom commit msg to the original head! Of course, the temporary dev branch will be cleaned up as well! Don't worry, it's also smart enough not to auto delete any GitAutoCommit branches should something horrible ever happen...

Finished monitoring your git repo? Just press CTRL+C !

Installation

As easy as running

$ dotnet tool install -g dotnet-autocommit

Getting started

🙋‍♀️ Help!

If you want to know how to configure GitAutoCommit, just scream!

Run autocommit --help for all options currently available

$ autocommit --help
GitAutocommit 1.1.1
Copyright (C) 2019 Steven Thuriot

  -v, --verbose      (Default: false) Set output to verbose messages.

  -i, --interval     (Default: 60) Commit interval in seconds.

  -d, --directory    (Default: Current Directory) Set the git repo directory.

  -p, --push         Automatically push to origin after squashing. If not 
                     supplied, the squashed commit will not be pushed.

  -b, --branch       Create a new branch before starting your work. It's good
                     practice not to work on master, after all!

  --help             Display this help screen.

  --version          Display version information.

Jumping right in

🚀 Running the watcher in a git directory:

$ autocommit
Monitoring D:\Git\GitAutoCommit for changes
Auto committed 1 change on 09/30/2019 23:40:14
Auto committed 3 changes on 09/30/2019 23:41:14
Auto committed 2 changes on 09/30/2019 23:42:14
Commit message: I built new features
Checking out development
Squashing and merging auto commits
Squashed changes have been committed
Removing auto commit branch
Finished auto committing
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 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.1.1 1,140 10/1/2019
1.1.0 502 10/1/2019

Initial release