0.6.0
With Nushell 0.90 comes a new release of NGM: version 0.6.0
🥳
New command to bisect repositories
The nu-git-manager-sugar
module now ships a new gm repo bisect
command.
The idea is that: when you have to bisect a Git repo and the compilation is long and you have a simple piece of code that can tell you right away if the current revision is good or bad, then it's pretty tideous to do it by hand...
This is why i wrote gm repo bisect
: you give it a closure that will give a non-zero exit-code for any bad revision, a first known good revision and a first known bad one and the command will run on its own and give you the first bad revision without any further intervention!
Documentation
The documentation now features a few new niceties:
- the commands link to their first line in the source code, e.g. here
- the command parameters should be a bit prettier now, e.g. here as compared to there
- the modules now have a proper documentation, e.g. here
Contributing
PR: #167
i have added a simple CONTRIBUTING.md
document...
just in case...
New module to interact with dotfiles
PR: #177
This new release of NGM ships a new sugar module called dotfiles
.
This module ships two new commands to interact with dotfiles managed manually through a bare repository:
gm cfg
: a thin wrapper around the Git command, e.g. you can do things likegm cfg status --short
orgm cfg log --graph --oneline
and it will run the same commands as in a normal repository but with your setup bare repo of dotfiles.gm cfg edit
: a command to list all the tracked dotfiles and open one of them in the$env.EDITOR
.
Full Changelog
- 28f1fa2 add
gm repo bisect
(#158) - 5044035 fix the table of content (#161)
- 625dc10 fix the Nushell version in the README (#162)
- 1f4153d fix spreading of arguments to externals in toolkit (#163)
- 60f6b86 link to the source of each command in the doc (#166)
- 99a5ef9 add contributing document (#167)
- d1ecc77 checkout back when good or bad are invalid in
gm repo bisect
(#165) - b11f787 define a Nupm workspace (#168)
- c1016e9 make the command parameters in the documentation pretty (#169)
- dad619b add log statements to
toolkit doc
(#170) - 67ecfaf add documentation to the modules (#171)
- 72a7920 update link to
tmux-sessionizer
in the README (#174) - 0e2538f add a new
dotfiles
module tosugar
withgm cfg
commands (#177) - 567ff2b (origin/main, origin/HEAD, main) give an error when removing a repo the user is in (#180)