Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cvrebert/gitconfig

git command aliases to make its interface halfway logical and user-friendly
https://github.com/cvrebert/gitconfig

Last synced: 28 days ago
JSON representation

git command aliases to make its interface halfway logical and user-friendly

Awesome Lists containing this project

README

        

gitconfig
=========

git command aliases to make its interface halfway logical and user-friendly

## Command summary

### Core
* `clobber ` : Clobbers part of the working copy with the original version from the current branch
* `amend` : Amends the last commit to include the changes currently in staging
* `amend-author 'J. Random '` : Amends the authorship information of the last commit
* `stage ` : Adds the changes in the given files to the staging area from the working copy
* `stage-patch ` : Interactively stage parts of changes in the given files to the staging area from the working copy
* `unstage ` : Un-stages the changes in the given files from the staging area back to the working copy

### Diff-related
* `diff-unstaged ` : Diffs the working copy against staging
* `difftool-unstaged ` : Graphically diffs the working copy against staging
* `wdiff-unstaged ` : Wordwise-diffs the working copy against staging

* `diff-staged ` : Diffs staging against the last commit
* `difftool-staged ` : Graphically diffs staging against the last commit
* `wdiff-staged ` : Wordwise-diffs the working copy against the last commit

### Branch-related
* `branches` : Lists all branches, grouped by merge status relative to the current branch
* `new-branch ` : Creates a new branch off of the current commit with the given name
* `push-to ` : Pushes the current branch to the given remote
* `force-push-to ` : Forcibly pushes the current branch to the given remote. Also a nice *Star Wars* reference.
* `delete-branch-local ` : Deletes the given branch locally
* `delete-merged-branches` : Deletes local branches that have already been merged to the current branch
* `delete-branch-remote ` : Deletes the given branch from the given remote server
* `set-branch-head ` : Sets the HEAD pointer of the given branch to the given commit

### Merge-related
* `resolve` : Opens your graphical merge/diff tool to resolve any outstanding merge conflicts

### Stash-related
* `stashes` : Lists all stashes
* `stash-changes` : Stashes all uncommitted changes
* `unstash ` : Un-stashes the changes by applying them to the working copy and staging area
* `delete-stash ` : Permanently deletes the stashed changes

### Rebase-related
* `rebase-against ` : Rebases the current branch against the given branch such that your commits will now have been made against the given branch's HEAD.
* `rebase-since ` : Interactively rebases the current branch, allowing you to remix (i.e. squash, reorder, remove) all commits after the given commit