Package git-extras

Little git extras

https://github.com/tj/git-extras

git-extras adds the following extra-commands to git:

alias, archive-file, bug, changelog, commits-since, contrib, count,
create-branch, delete-branch, delete-submodule, delete-tag, effort,
extras, feature, fresh-branch, gh-pages, graft, ignore, info,
local-commits, obliterate, promote, refactor, release, repl, setup,
squash, summary, touch, undo

For more information about the extra-commands, see the included
README.md, HTML, mark-down or man-pages.

General Commands (Section 1)
git-alias
List all aliases, show one alias, or set one (global) alias.
git-archive-file
Export the current HEAD of the repository into a archive with a identifiable and unique name.
git-authors
Populates the file matching authors|contributors -i with the authors of commits, according to the number of commits per author. Opens the file in $EDITOR when...
git-back
Removes the latest commits, and add their changes to your staging area.
git-bug
Create the given bug branch
git-changelog
Generates a changelog from git(1) tags (annotated or lightweight) and commit messages. Existing changelog files with filenames that begin with Change or History...
git-chore
Create the given chore branch
git-clear
Clears the repository to a state that it looks as if it was freshly cloned with the current HEAD. Basically it is a git-reset --hard together with deletion of...
git-clear-soft
Clears the repository to a state that it looks as if it was freshly cloned with the current HEAD, however, preserving all changes that are located in files and...
git-commits-since
List of commits since the given date.
git-contrib
Output a user´s contributions to a project, based on the author name or email. Returns multiple entries if there are more than one match.
git-count
Show commit count
git-create-branch
Creates local and remote branch named <branchname>.
git-delete-branch
Deletes local and remote branch named <branchname>. Note that local deletion fails if the branch is checked out.
git-delete-merged-branches
Deletes all branches merged in to current HEAD. Does not delete master, even if run from a branch that is a descendant of master.
git-delete-submodule
git-delete-submodule <path>
git-delete-tag
Deletes local and remote tag named <tagname>.
git-delta
Lists all files that differ from a branch. By default, lists files that have been added, copied, or modified as compared to the master branch.
git-effort
Shows effort statistics about files in the repository. Display includes: - Commits: number of commits per file - highlighting files with most activity. - Active...
git-extras
git-extras [-v,--version] [-h,--help] [update]
git-feature
Create/Merge the given feature branch
git-fork
If a github repo url is given, fork the repo. Like clone but forks first.
git-fresh-branch
Creates empty local branch named <branchname>.
git-gh-pages
Create the GitHub Pages branch (gh-pages) with an initial dummy index.html file.
git-graft
Merge commits from <src-branch> into <dest-branch>
git-guilt
In the first form, shows total blame count for files with unstaged changes. In the second form, calculates the change in blame between two revisions. If not...
git-ignore
Adds the given _pattern_s to a .gitignore file if it doesn´t already exist.
git-ignore-io
Get sample gitignore file from gitignore.io https://www.gitignore.io
git-info
Returns information on current repository
git-line-summary
Show a summary by line of the repository, rather than by commit like git-summary.
git-local-commits
Lists commits in the local branch that have not been pushed to origin.
git-lock
Lock local files from version control.
git-locked
List local files that have been locked
git-merge-into
Merge one branch into another, and keep yourself on current branch. If src branch not given, it will merge current one to dest.
git-merge-repo
Merges a repository´s history with the current repository, inside a specified directory. Optional --squash flag skips the full history and generates only one...
git-missing
Shows commits that are in either of two branches but not both. Useful for seeing what would come across in a merge or push.
git-obliterate
Completely remove some files from the repository, including past commits and tags. WARNING! This command will rewirte the history similar to git rebase(though...
git-pr
Creates a local branch based on a GitHub pull request number or URL, and switch to that branch afterwards.
git-psykorebase
Rebase the feature_branch on top of the target_branch, the feature_branch defaults to the current one.
git-pull-request
Create pull request for a project on GitHub via commandline. Uses the email from git config user.email to open the pull request.
git-reauthor
Lets you replace the author and/or committer identities in commits and tags. The command goes through all existing commits and tags in all local branches to...
git-rebase-patch
Given you have a patch that doesn´t apply to the current HEAD, but you know it applied to some commit in the past, git-rebase-patch will help you find that...
git-refactor
Create the given refactor branch
git-release
Commits changes with message "Release <tagname>" or custom commit information, tags with the given <tagname> and pushes the branch / tags. Optionally it...
git-rename-branch
rename local branch and push to remote
git-rename-tag
Rename a tag (locally and remotely)
git-repl
Git read-eval-print-loop. Let´s you run git commands without typing ´git´. Commands can be prefixed with an exclamation mark (!) to be interpreted as a regular...
git-reset-file
Reset one file to HEAD or certain commit-hash
git-root
print the path for the root directory of git repo
git-scp
A convenient way to copy files from the current working tree to the working directory of a remote repository. If a <commits>... is provided, only files that has...
git-sed
Run git grep and then send results to sed for replacement with the given flags, if -f is provided. Also runs git commit if -c is provided.
git-setup
Set up a git repository if one doesn´t exist, add all files and make an initial commit.
git-show-merged-branches
Show all branches merged in to current HEAD.
git-show-tree
Show the decorated graph view of one liner summarized commits from all branches.
git-show-unmerged-branches
Show all branches not merged in to current HEAD.
git-squash
Produce the working tree and index state as if a real merge happened without the commit or merge marks.
git-standup
Recall what you did on the last working day ..or be nosy and find what someone else did.
git-summary
Shows a summary of the repository.
git-sync
Sync local branch with <remote>/<branch>. When <remote> and <branch> are not specified on the command line, upstream of local branch will be used by default...
git-touch
Call touch on the given file and add it to the current index. Used one-step creating new files.
git-undo
Removes the latest commits.
git-unlock
Unlock local files from version control.