Elegant git

Allows easy handle git tasks.

View on GitHub

Elegant git

Your git experience will be changed forever.

Philosophy

  • declarative interaction
  • no merge commits

Limitations

Support only one default remote - origin.

Commands

feature

Creates a new branch based on master. If there are some uncommitted changes, they will be moved to the new branch.

pull

Downloads new updates for a local branch.

push

Upload current local branch to a remote one. If the remote branch is absent, it will be created.

rebase

Reapplies commits on top of the latest origin/master.

push-after-rebase

Executes git elegant push after git elegant rebase.

init

Creates an empty Git repository or reinitialize an existing one. Then runs local repository configuration.

clone

Clone a repository into a new directory. Then runs local repository configuration.

add

Adds file contents to the index interactively.

clear-local

Removes all local branches which don’t have remote tracking branches.

configure

Defines some settings for both global and local git config.

check

Shows trailing whitespaces of uncommitted changes.

commands

Displays all available commands.