mogi up -b <branch|random_branch> -m <message|files_change>
using:
mogi up -> branch = <random_branch> && commit = <files_change>
mogi up -b ref -> branch = ref && commit = <files_change>
mogi up -b ref -m 'first commit' -> branch = ref && commit = 'first commit'
Mogi Up is a command-line tool designed to streamline the process of pushing changes to a Git repository. With its simple syntax and powerful functionality, Mogi Up simplifies the steps involved in committing and pushing changes, saving you time and effort.
npm i mogi -g
This command automatically creates a new branch and commits the changes with a randomly generated branch name and a message indicating the files changed.
Specify a branch named 'branch_name' to create and commit changes to. The commit message will indicate the files changed.
commit changes with a custom message 'message'.
delete a created branch
- -b -> create new branch or switch to the same branch if found mogi up -b 'branch_name'
- -m -> create a new message to commit mogi up -m 'message'
- -d -> delete branch after push changes mogi up -d
mogi up enhances your workflow by providing a convenient way to manage your Git branches and commits, making collaboration and version control more efficient.