gati v1.0.87
gati
This package is intended to facilitate and speed up the experience with git and more importantly to make the management and observation of the work more solid.
Installation
npm i -g gati
Commands
Name | Description | flags |
---|---|---|
move | Move between branches | |
commit | Commit with conventional formatting | |
cpush | Commit and push with conventional formatting | -f: first push of repo |
delete | Removes local and remote branches in parallel | |
create | Create branch | -b |
rebase | Start guided rebase | |
config | set configurations for example branch types | types-commit, types-branch |
interface | open a web page connected to the terminal via a temporary server |
Move:
With the move command you can move between the branches, you can pass the name of the branch or if nothing passes a select will appear to select the destination branch, automatically when you move it makes a pull and if possible checks if the destination branch it is aligned to the source branch.
Commit:
With the commit command you can perform a commit wizard with conventional formatting "type-commit (files changed...): short description".
Cpush:
With the cpush command you can commit and push together. With the flag -f through only a text input field in which the repository link is inserted you can do the first commit and push and all the related actions to be done at the first push:
1. echo "# test" >> README.md ( if README.md is empty )
2. git init
3. git add README.md
4. git commit -m "first commit"
5. git branch -M main
6. git remote add origin "link commit"
7. git push -u origin main
Delete:
With the delete command you can comfortably remove the desired branches in parallel through a multi select, you can filter the branches by inserting a right part included in the desired branch, with space you can select or deselect a branch with the enter key delete the branches.
Create:
With the create ssi command you can currently only create a branch with the -b flag following the conventional branch nomenclature of "branch type/source branch/branch name".
Rebase:
With the rebase command you start a guided rebase, the name from which to rebase is automatically taken from the name of the branch itself, during the rebase in case it should encounter conflicts, a confirmation input will appear if you want to continue resolving the conflicts and confirm (equivalent a git rebase --continue) otherwise negate (equivalent to git rebase --abort) and it will automatically abort the rebase.
Config:
With the config command you can customize the select options to select the type of branch and commit, at the end of the operations the configurations are saved in the package.json inside the "gati" key.
Interface:
With the interface command you start a temporary server at port 3085 and automatically open a web page connected to the server which in turn is connected to the terminal on which the command was executed, currently on the web page you can view the branch hierarchy .
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago