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
- Host: GitHub
- URL: https://github.com/baynezy/git.aliases
- Owner: baynezy
- Created: 2016-04-19T08:16:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T09:24:02.000Z (over 1 year ago)
- Last Synced: 2025-01-21T20:33:51.684Z (3 months ago)
- Language: Shell
- Size: 27.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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