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

https://github.com/baynezy/git.aliases

My preferred git aliases
https://github.com/baynezy/git.aliases

Last synced: about 2 months ago
JSON representation

My preferred git aliases

Awesome Lists containing this project

README

        

# git.aliases

My preferred git aliases

## Usage

### Installation

#### Windows

Navigate to the route folder in your Bash client.

./add.sh

### Aliases

#### Git Flow

I love git-flow, but the utility requires that you type long commands
like `git flow feature add `. This is too much typing.

##### Features

###### Start Feature

git fs

###### Finish Feature

git ff

or

git ff

###### Rebase a Feature

To interactively rebase a feature branch before merging it.
**Make sure you are in the branch you want to rebase**

git rbd

##### Releases

###### Start Release

git rs

###### Finish Release

git rf

###### Rebase a Release

To interactively rebase a release branch before merging it.
**Make sure you are in the branch you want to rebase**

git rbd

##### Hotfixes

###### Start Hotfix

git hfs

###### Finish Hotfix

git hff

###### Rebase a Hotfix

To interactively rebase a hotfix branch before merging it.
**Make sure you are in the branch you want to rebase**

git rbm

#### General Git

##### Delete all merged branches

This will remove all merged branches that are not `master` or `develop`

git cleanup

##### Commit

git com

##### Checkout

git co

##### Log One Line

git logo

##### Log Just The Commits on your Feature Branch

git logf

##### Log Just The Commits on your Feature Branch One Line

git logfo

##### Update the last commit to be timestamped to now

git touch

##### Update the last commit to be authored by you and timestamped to now

git plagiarise

##### List tags in order they were created

git tago

##### Remove files that were committed but are not in .gitignore

git reignore

##### Combinations

Here I have shortened or combined commands that I type all the time.



alias
command





git cm




git add -A
git commit





git pall




git push origin --all
git push origin --tags