Skip to content

Releases: drewwyatt/git-tidy

Migrate to Rust

07 Feb 19:19
e8097bd
Compare
Choose a tag to compare
Migrate to rust (2.0.1) (#42)

* 🗑 cleanup

* run cargo init

* configure cli args

* use structopt

* fetch git branches

* first pass at git wrapper

* moving things around...

* listing stuffs

* remove comment

* cleanup

* wip

* can list gone branches

* add prune

* WIP: status indicator

* 🗑

* queuing processes

* move spinner out of Git struct

* configure devcontainer

* add launch.json

* cleanup

* handle next steps

* add git.delete()

* delete works

* use dialoguer for interactive mode

* list => (non-working) prompt

* Fix issue with Prompt implementation for branches (#38)

Co-authored-by: Dalton Claybrook <daltonclaybrook@gmail.com>

* cleanup

* update readme and cargo.toml

* add workflow

* prevent automatic exit on failed delete (#39)

* save errors in mutable vec instead of exiting

* print errors if any exist

* this does not need to be reversed

* whoops

* show deleted branches (#40)

* whoops

* WIP

* Fix build errors

Co-authored-by: Dalton Claybrook <daltonclaybrook@gmail.com>

* Dalton/i18n enum (#41)

* whoops

* Example of i18n enum

* spacing

* move more copy to i18n file

Co-authored-by: Drew Wyatt <drew.j.wyatt@gmail.com>

* add missing newlines

* 2.0.1
add Dalton Claybrook to collaborators

* add crates.io badge

* add legacy installation instructions

* add asciicast back to readme

* update workflow branch filters

Co-authored-by: Dalton Claybrook <daltonclaybrook@gmail.com>

🎉1.0.0 Release 🎉

02 May 00:36
75b1219
Compare
Choose a tag to compare

Changelog

75b1219 updated README for 1.0.0 (#23)
f69956e Add actions to PR workflow (#22)
264bf24 Setup exec interface and add tests (#20)

0.4.0

01 May 00:37
5d66c0d
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

New name, same tool

This release is only for the sake of updating the package/formula name. Gitclean is now git-tidy. This makes command line usage a bit easier (and less likely to be confused with git-clean).

Changelog

5d66c0d 🧽 Gitclean => 🗑 git-tidy (#21)

0.3.0

27 Apr 19:53
03996a9
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

New Features

Version

Flag: -v/--version

$ gitclean -v
0.3.0

Path

By default, gitclean will execute all commands in the current directory (.), however, you can pass a path to another git repository after any/all other flags.

$ gitclean ../some/other/repo
# with flags
$ gitclean -if ../some/other/repo

Changelog

03996a9 Removed "(in the current directory)" from readme (#19)
e273540 removed "(in the current directory)" from readme
3b45004 Cleanup main.go (#16)
fe7a00b run "go build” inside go container on PR (#17)
d7f9d00 run "go build” inside go container on PR
f5eb7c8 renamed things
b98eafc hooked everything up
2b41e02 Moved commands to their own files
e35739e Defined possible user intents
4d9a025 Allow directory to be provided as final arg (#15)
4aa7f96 Updated documentation
f8fb649 Providing directory on run
7bad64b Setup git package to use directory
888c4a8 Missing modules added with "go mod tidy" (#13)
62b8338 -v/--version (#11)
a9f00ed Sets default VSCode format tool (#12)
3a46486 modules added with go mod tidy
57190d0 Sets default vscode format tool
75ef770 added logic to print version when flag is provided
2f79e31 Merge pull request #7 from drewwyatt/dw/readme-update
51ee0b6 update readme

0.2.0

21 Apr 22:23
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

New Features

Interactive flag

Present all ": gone" branches in a checkbox list, allowing user to opt-in to deletions.

$ gitclean -i
# or
$ gitclean --interactive
# with force:
$ gitclean -if
# or
$ gitclean --interactive --force

Changelog

8269b31 Setup go modules
881140e Added github release action
693ea07 Merge pull request #6 from drewwyatt/dw/interactive
f896262 Using survey to present checkbox options
25253a9 release badge
a854c0f Added homebrew installation instructions to readme

🎉Initial Release

12 Apr 22:42
Compare
Choose a tag to compare
🎉Initial Release Pre-release
Pre-release

This is the first release of gitclean

This will delete local git branches in the current directory that have a remote tracking branch that is : gone.

commands

  • gitclean (no arguments)
    • executes "git branch -d" on ": gone" branches
  • gitclean -f
    • executes "git branch -D" on ": gone" branches