---
name: "git-extras"
section: "1"
platform: "linux"
package: "git-extras"
version: "7.3.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/git-extras"
---

# git-extras(1)

Awesome GIT utilities

## NAME

**git-extras** - Awesome GIT utilities

## SYNOPSIS

**git-extras** \[-v,--version\] \[-h,--help\] \[update\]

## OPTIONS

\-v, --version

Show git-extras version number.

\-h, --help

Show this help. This option can also be used for any of the extras commands.

update

Self update.

## ENVIRONMENT AND CONFIGURATION VARIABLES

**git config --add git-extras.default-branch $BRANCH**

Change the default branch to **$BRANCH**. If **git-extras.default-branch** isn't set, **init.defaultBranch** is used instead. If none of them are set it defaults to **main**.

## COMMANDS

- •

  **[git-abort(1)](/git-abort/1.md)** Abort current git operation

- •

  **[git-alias(1)](/git-alias/1.md)** Define, search and show aliases

- •

  **[git-archive-file(1)](/git-archive-file/1.md)** Export the current HEAD of the git repository to an archive

- •

  **[git-authors(1)](/git-authors/1.md)** Generate authors report

- •

  **[git-browse-ci(1)](/git-browse-ci/1.md)** *View the web page for the current repository*

- •

  **[git-browse(1)](/git-browse/1.md)** *View the web page for the current repository*

- •

  **[git-brv(1)](/git-brv/1.md)** List branches sorted by their last commit date

- •

  **[git-bulk(1)](/git-bulk/1.md)** Run git commands on multiple repositories

- •

  **[git-changelog(1)](/git-changelog/1.md)** Generate a changelog report

- •

  **[git-clear-soft(1)](/git-clear-soft/1.md)** Soft clean up a repository

- •

  **[git-clear(1)](/git-clear/1.md)** Rigorously clean up a repository

- •

  **[git-coauthor(1)](/git-coauthor/1.md)** Add a co-author to the last commit

- •

  **[git-commits-since(1)](/git-commits-since/1.md)** Show commit logs since some date

- •

  **[git-contrib(1)](/git-contrib/1.md)** Show user's contributions

- •

  **[git-count(1)](/git-count/1.md)** Show commit count

- •

  **[git-cp(1)](/git-cp/1.md)** Copy a file keeping its history

- •

  **[git-create-branch(1)](/git-create-branch/1.md)** Create branches

- •

  **[git-delete-branch(1)](/git-delete-branch/1.md)** Delete branches

- •

  **[git-delete-merged-branches(1)](/git-delete-merged-branches/1.md)** Delete merged branches

- •

  **[git-delete-squashed-branches(1)](/git-delete-squashed-branches/1.md)** Delete branches that were squashed

- •

  **[git-delete-submodule(1)](/git-delete-submodule/1.md)** Delete submodules

- •

  **[git-delete-tag(1)](/git-delete-tag/1.md)** Delete tags

- •

  **[git-delta(1)](/git-delta/1.md)** Lists changed files

- •

  **[git-effort(1)](/git-effort/1.md)** Show effort statistics on file(s)

- •

  **[git-feature(1)](/git-feature/1.md)** Create/Merge feature branch

- •

  **[git-force-clone(1)](/git-force-clone/1.md)** overwrite local repositories with clone

- •

  **[git-fork(1)](/git-fork/1.md)** Fork a repo on github

- •

  **[git-fresh-branch(1)](/git-fresh-branch/1.md)** Create fresh branches

- •

  **[git-get(1)](/git-get/1.md)** Clone a Git repository under a configured directory

- •

  **[git-gh-pages(1)](/git-gh-pages/1.md)** Create the GitHub Pages branch

- •

  **[git-graft(1)](/git-graft/1.md)** Merge and destroy a given branch

- •

  **[git-guilt(1)](/git-guilt/1.md)** calculate change between two revisions

- •

  **[git-ignore-io(1)](/git-ignore-io/1.md)** Get sample gitignore file

- •

  **[git-ignore(1)](/git-ignore/1.md)** Add .gitignore patterns

- •

  **[git-info(1)](/git-info/1.md)** Returns information on current repository

- •

  **[git-local-commits(1)](/git-local-commits/1.md)** List local commits

- •

  **[git-lock(1)](/git-lock/1.md)** Lock a file excluded from version control

- •

  **[git-locked(1)](/git-locked/1.md)** ls files that have been locked

- •

  **[git-magic(1)](/git-magic/1.md)** Automate add/commit/push routines

- •

  **[git-merge-into(1)](/git-merge-into/1.md)** Merge one branch into another

- •

  **[git-merge-repo(1)](/git-merge-repo/1.md)** Merge two repo histories

- •

  **[git-missing(1)](/git-missing/1.md)** Show commits missing from another branch

- •

  **[git-mr(1)](/git-mr/1.md)** Checks out a merge request locally

- •

  **[git-obliterate(1)](/git-obliterate/1.md)** rewrite past commits to remove some files

- •

  **[git-paste(1)](/git-paste/1.md)** Send patches to pastebin for chat conversations

- •

  **[git-pr(1)](/git-pr/1.md)** Checks out a pull request locally

- •

  **[git-psykorebase(1)](/git-psykorebase/1.md)** Rebase a branch with a merge commit

- •

  **[git-pull-request(1)](/git-pull-request/1.md)** Create pull request for GitHub project

- •

  **[git-reauthor(1)](/git-reauthor/1.md)** Rewrite history to change author's identity

- •

  **[git-rebase-patch(1)](/git-rebase-patch/1.md)** Rebases a patch

- •

  **[git-release(1)](/git-release/1.md)** Commit, tag and push changes to the repository

- •

  **[git-rename-branch(1)](/git-rename-branch/1.md)** rename local branch and push to remote

- •

  **[git-rename-file(1)](/git-rename-file/1.md)** Rename a file or directory and ensure Git recognizes the change, regardless of filesystem case-sensitivity.

- •

  **[git-rename-remote(1)](/git-rename-remote/1.md)** Rename a remote

- •

  **[git-rename-tag(1)](/git-rename-tag/1.md)** Rename a tag

- •

  **[git-repl(1)](/git-repl/1.md)** git read-eval-print-loop

- •

  **[git-reset-file(1)](/git-reset-file/1.md)** Reset one file

- •

  **[git-root(1)](/git-root/1.md)** show path of root

- •

  **[git-scp(1)](/git-scp/1.md)** Copy files to SSH compatible **git-remote**

- •

  **[git-sed(1)](/git-sed/1.md)** replace patterns in git-controlled files

- •

  **[git-setup(1)](/git-setup/1.md)** Set up a git repository

- •

  **[git-show-merged-branches(1)](/git-show-merged-branches/1.md)** Show merged branches

- •

  **[git-show-tree(1)](/git-show-tree/1.md)** show branch tree of commit history

- •

  **[git-show-unmerged-branches(1)](/git-show-unmerged-branches/1.md)** Show unmerged branches

- •

  **[git-squash(1)](/git-squash/1.md)** squash N last changes up to a ref'ed commit

- •

  **[git-stamp(1)](/git-stamp/1.md)** Stamp the last commit message

- •

  **[git-standup(1)](/git-standup/1.md)** Recall the commit history

- •

  **[git-summary(1)](/git-summary/1.md)** Show repository summary

- •

  **[git-sync(1)](/git-sync/1.md)** Sync local branch with remote branch

- •

  **[git-touch(1)](/git-touch/1.md)** Touch and add file to the index

- •

  **[git-undo(1)](/git-undo/1.md)** Remove latest commits

- •

  **[git-unlock(1)](/git-unlock/1.md)** Unlock a file excluded from version control

- •

  **[git-utimes(1)](/git-utimes/1.md)** Change files modification time to their last commit date

-

  ## AUTHOR

Written by Tj Holowaychuk \<*tj@vision-media.ca*\>

## REPORTING BUGS

\<*https://github.com/tj/git-extras/issues*\>

## SEE ALSO

\<*https://github.com/tj/git-extras*\>
