0.3.0
V0.3.0
What is gut ?
Gut is an alternative CLI for Git. It provides consistent command naming and a useful set of features. For further information, please visit the website: https://gut-cli.dev
Example
cd my-awesome-project
# Init a new git repo
gut init
# Do some changes
touch my-billion-dollar-idea.txt
# Commit your new file
gut save # Alias of gut commit
# Sync your changes with the upstream
gut syncChangelog
Features
- Gitignore templates now include ".gut" to avoid committing user configuration
- New command "git ignore update" to stop tracking previously committed files
- The init command now prompts for a gitignore template
- Errors generated from a dirty working tree are now more helpful
gut savenow allows you specify an external editor (instead of using the built-in editor)
Bug fixes
- Color printing on the Windows Command Prompt should no longer print ANSI codes
gut squashnow works with a local-only repository
Deprecation
Renaming the gut undo command
As pointed out by an HN commenter, the 'undo' command is not well-named.
Its role is to revert the working tree to the state of the last commit, not to undo the last commit.
This is a subtle but important difference. Therefore, we should rename the command to something more appropriate. I think 'reset' is a good candidate.
Commits
- 25c3c1e ✨ Add ability to specify commit message editor
- 82a335f ✨ Add sparse commit #57
- edee7d1 ✨ Add sparse commit You can now perform a commit without including all the files by specifying them as args: For example: gut save myfile.go myfile.js
- 465fb33 ✨ New command : gut ignore update
- 0ef81df ✨ gitignore templates now includes .gut It's very annoying to commit the .gut file (used for profile management) To fix this, the file is now included into the .gitignore
- e84e84d ✨ init cmd now adds a .gitignore
- 8efbb35 🐛 Fix out of bound squash commit (fix #58)
- 18ceeb6 💄 Fix printing issue on Windows cmd (fix #56)
- dc99070 📌 Update package fatih/color to latest
- 8a98fb6 🔀 v.0.3.0 merge commit
- 8cb75ea 🗑️ Create deprecation notice for the undo command
- 893bb32 🥅 Enhance error handling for dirty tree