mogi

1.9.0 • Public • Published

mogi up -b <branch|random_branch> -m <message|files_change>
using:

  1. mogi up -> branch = <random_branch> && commit = <files_change>
  2. mogi up -b ref -> branch = ref && commit = <files_change>
  3. mogi up -b ref -m 'first commit' -> branch = ref && commit = 'first commit'

mogi up

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.


Installation

npm i mogi -g

Usage:

mogi up

This command automatically creates a new branch and commits the changes with a randomly generated branch name and a message indicating the files changed.

mogi up -b 'branch_name'

Specify a branch named 'branch_name' to create and commit changes to. The commit message will indicate the files changed.

mogi up -m 'message'

commit changes with a custom message 'message'.

mogi up -d

delete a created branch

Options to 'mogi up'

  1. -b -> create new branch or switch to the same branch if found mogi up -b 'branch_name'
  2. -m -> create a new message to commit mogi up -m 'message'
  3. -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.

Readme

Keywords

none

Package Sidebar

Install

npm i mogi

Weekly Downloads

13

Version

1.9.0

License

ISC

Unpacked Size

9.63 kB

Total Files

9

Last publish

Collaborators

  • moamen-walid