makelinux / git-wizard

instant git magic and tricks
Apache License 2.0
43 stars 30 forks source link
git tricks wizard

git-wizard - instant git magic and tricks

An interactive git shell utility for working efficiently.

Vision: collect git tricks, troubleshooting techniques and git wisdom under one hat and perform them interactively.

Beginners can enjoy learning git functionality interactively. Experienced command line git users can save time by using the wizard to perform frequent operations.

For example, when you have a merge conflict the wizard first suggests that you run mergetool.

.. contents:: :local:

Features


Fast

Comfortable

Smart

For example, the wizard proposes to stage changes only when there are changed files.

Details


Internal checks

Each iteration, the wizard checks whether the repository contains collisions, operations in progress, conflicts, unmerged files, changes, stashes, ahead/behind commits, and untracked files.

It performs "git fetch" periodically and automatically.

It pronounces some valuable short messages audibly using the espeak application.

Internal actions

The wizard uses following commands under the hood: init, status, add, commit, mergetool, diff, fetch, push, pull, clone, stash, log, clean, gui and gitk, espeak.

Report

Reports the current status of the repository:

git-wizard report::

root: /home/costa/Dropbox/linux/git-wizard conflicted files: 0 unmerged files: 0 in progress: modified files: 2 head: master local branches: 2 remote branches: 3 stashes: 2 commited: 2 minutes ago remote: origin fetch age (min): 6 local commits: 3 remote commits: 0 action itemes: 1 gone branches: 0 untracked files: 3

Other features

To do