git-extras is a large collection of really useful utilities for Git repositories.
The software is under active development.
git-extras is free and open source software.
Here’s the commands:
- git alias – define, search and show aliases.
- git archive-file – creates a zip archive of the current git repository
- git authors – populates the file matching authors|contributors -i with the authors of commits, according to the number of commits per author.
- git browse – opens the current git repository website in your default web browser.
- git bulk – adds convenient support for operations that you want to execute on multiple git repositories.
- git brv – pretty listing of branches sorted by the date of their last commit.
- git changelog – generates a changelog from git tags (annotated or lightweight) and commit messages.
- git clear – performs a hard reset and deletes all untracked files from the working directory, including those in .gitignore
- git clear-soft – performs a hard reset and deletes all untracked files from the working directory, excluding those in .gitignore.
- git coauthor – add a co-author to the last commit.
- git commits-since – list commits since date (defaults to “last week”).
- git contrib – output author’s contributions to a project.
- git count – output commit count.
- git cp – copy a file to another one keeping its history and allowing for merge conflicts handling.
- git create-branch – create local branch with options to setup a remote tracking branch in origin and upstream.
- git delete-branch – delete local and remote branch.
- git delete-merged-branches – deletes branches that are listed in git branch –merged
- git delete-submodule – deletes a submodule.
- git delete-tag – delete local and remote tag.
- git delta – lists files that differ from another branch.
- git effort – displays “effort” statistics, currently just the number of commits per file, showing highlighting where the most activity is.
- git extras – the main command.
- git feature – create/Merge the given feature, refactor, bug or chore branch.
- git force-clone – if the clone target directory exists and is a git repository, reset its contents to a clone of the remote.
- git fork – fork the given GitHub repo. It’s similar to the clone command, but forks first.
- git fresh-branch – create empty local branch.
- git gh-pages – sets up the gh-pages branch.
- git graft – merge commits from src-branch into dest-branch.
- git guilt – calculate the change in blame between two revisions.
- git ignore – displays currently ignored patterns in both your global and your local .gitignore files.
- git ignore-io – generate sample gitignore file from gitignore.io.
- git info – show information about the repo.
- git local-commits – list all commits on the local branch that have not yet been sent to origin. Any additional arguments will be passed directly to git log.
- git lock – lock a local file.
- git locked – list local locked files.
- git merge-into – merge src branch into dest, and keep yourself on current branch. If src branch not given, it will merge current one to dest.
- git merge-repo – merges two repository histories.
- git missing – print out which commits are on one branch or the other but not both.
- git mr – checks out a merge request from GitLab.
- git obliterate – completely remove a file from the repository, including past commits and tags.
- git paste – sends commits to a pastebin site using pastebinit.
- git pr – checks out a pull request from GitHub.
- git psykorebase – rebase a branch on top of another using a merge commit and only one conflict handling.
- git pull-request – create pull request via commandline.
- git reauthor – rewrite history to change author’s identity.
- 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 commit and do a rebase.
- git release – release commit with the given
and other options - git rename-branch – rename a branch locally, and sync to remote via git push.
- git rename-tag – rename a tag (locally and remotely).
- git rename-remote – rename a git remote regardless of name conflict, and then list current git remotes.
- git repl – run git commands without typing ‘git’.
- git reset-file – reset one file to HEAD or certain commit.
- git root – show the path to root directory of git repo.
- git rscp – copy files from the current working tree to the working directory of a remote repository.
- git scp – copy files from the current working tree to the working directory of a remote repository.
- git sed – run grep as directed but replace the given files with the pattern.
- 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 stamp – stamp the last commit message.
- git squash – merge commits from src-branch into the current branch as a single commit.
- git standup – recall what you did or find what someone else did in a given range of time.
- git summary – outputs a repo summary.
- git sync – sync local branch with its remote branch.
- git touch – call touch on the given file, and add it to the current index. One-step creation of new files.
- git undo – remove the latest commit.
- git unlock – unlock a local file filename.
- git utimes – change files modification time to their last commit date.
Website: github.com/tj/git-extras
Support:
Developer: TJ Holowaychuk and various contributors
License: MIT License
Popular series | |
---|---|
The largest compilation of the best free and open source software in the universe. Each article is supplied with a legendary ratings chart helping you to make informed decisions. | |
Hundreds of in-depth reviews offering our unbiased and expert opinion on software. We offer helpful and impartial information. | |
The Big List of Active Linux Distros is a large compilation of actively developed Linux distributions. | |
Replace proprietary software with open source alternatives: Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle, Atlassian, Corel, Cisco, Intuit, and SAS. | |
Awesome Free Linux Games Tools showcases a series of tools that making gaming on Linux a more pleasurable experience. This is a new series. | |
Machine Learning explores practical applications of machine learning and deep learning from a Linux perspective. We've written reviews of more than 40 self-hosted apps. All are free and open source. | |
New to Linux? Read our Linux for Starters series. We start right at the basics and teach you everything you need to know to get started with Linux. | |
Alternatives to popular CLI tools showcases essential tools that are modern replacements for core Linux utilities. | |
Essential Linux system tools focuses on small, indispensable utilities, useful for system administrators as well as regular users. | |
Linux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine. | |
Surveys popular streaming services from a Linux perspective: Amazon Music Unlimited, Myuzi, Spotify, Deezer, Tidal. | |
Saving Money with Linux looks at how you can reduce your energy bills running Linux. | |
Home computers became commonplace in the 1980s. Emulate home computers including the Commodore 64, Amiga, Atari ST, ZX81, Amstrad CPC, and ZX Spectrum. | |
Now and Then examines how promising open source software fared over the years. It can be a bumpy ride. | |
Linux at Home looks at a range of home activities where Linux can play its part, making the most of our time at home, keeping active and engaged. | |
Linux Candy reveals the lighter side of Linux. Have some fun and escape from the daily drudgery. | |
Getting Started with Docker helps you master Docker, a set of platform as a service products that delivers software in packages called containers. | |
Best Free Android Apps. We showcase free Android apps that are definitely worth downloading. There's a strict eligibility criteria for inclusion in this series. | |
These best free books accelerate your learning of every programming language. Learn a new language today! | |
These free tutorials offer the perfect tonic to our free programming books series. | |
Linux Around The World showcases usergroups that are relevant to Linux enthusiasts. Great ways to meet up with fellow enthusiasts. | |
Stars and Stripes is an occasional series looking at the impact of Linux in the USA. |