Skip to content

Instantly share code, notes, and snippets.

@justinhartman
Created May 20, 2018 19:15
Show Gist options
  • Save justinhartman/2a67aa8ab8810598bed84a326335f8bb to your computer and use it in GitHub Desktop.
Save justinhartman/2a67aa8ab8810598bed84a326335f8bb to your computer and use it in GitHub Desktop.
Git Extra Commands Summary

COMMANDS

  • git-alias: Define, search and show aliases
  • git-archive-file: Export the current HEAD of the git repository to an archive
  • git-authors: Generate authors report
  • git-back: Undo and Stage latest commits
  • git-bug: Create bug branch
  • git-bulk: Run git commands on multiple repositories
  • git-changelog: Generate a changelog report
  • git-chore: Create chore branch
  • git-clear: Rigorously clean up a repository
  • git-clear-soft: Soft clean up a repository
  • git-commits-since: Show commit logs since some date
  • git-contrib: Show user's contributions
  • git-count: Show commit count
  • git-create-branch: Create branches
  • git-delete-branch: Delete branches
  • git-delete-merged-branches: Delete merged branches
  • git-delete-submodule: Delete submodules
  • git-delete-tag: Delete tags
  • git-delta: Lists changed files
  • git-effort: Show effort statistics on file(s)
  • git-feature: Create/Merge feature branch
  • git-force-clone: overwrite local repositories with clone
  • git-fork: Fork a repo on github
  • git-fresh-branch: Create fresh branches
  • git-gh-pages: Create the GitHub Pages branch
  • git-graft: Merge and destroy a given branch
  • git-guilt: calculate change between two revisions
  • git-ignore-io: Get sample gitignore file
  • git-ignore: Add .gitignore patterns
  • git-info: Returns information on current repository
  • git-line-summary: Show repository summary by line
  • git-local-commits: List local commits
  • git-locked: ls files that have been locked
  • git-lock: Lock a file excluded from version control
  • git-merge-into: Merge one branch into another
  • git-merge-repo: Merge two repo histories
  • git-missing: Show commits missing from another branch
  • git-mr: Checks out a merge request locally
  • git-obliterate: rewrite past commits to remove some files
  • git-pr: Checks out a pull request locally
  • git-psykorebase: Rebase a branch with a merge commit
  • git-pull-request: Create pull request for GitHub project
  • git-reauthor: Rewrite history to change author's identity
  • git-rebase-patch: Rebases a patch
  • git-refactor: Create refactor branch
  • git-release: Commit, tag and push changes to the repository
  • git-rename-branch: rename local branch and push to remote
  • git-rename-tag: Rename a tag
  • git-repl: git read-eval-print-loop
  • git-reset-file: Reset one file
  • git-root: show path of root
  • git-scp: Copy files to SSH compatible git-remote
  • git-sed: replace patterns in git-controlled files
  • git-setup: Set up a git repository
  • git-show-merged-branches: Show merged branches
  • git-show-tree: show branch tree of commit history
  • git-show-unmerged-branches: Show unmerged branches
  • git-squash: Import changes from a branch
  • git-stamp: Stamp the last commit message
  • git-standup: Recall the commit history
  • git-summary: Show repository summary
  • git-sync: Sync local branch with remote branch
  • git-touch: Touch and add file to the index
  • git-undo: Remove latest commits
  • git-unlock: Unlock a file excluded from version control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment