https://github.com/ariarzer/my-git-alias
My aliases for git. Easy rebase all you branch and much more!
https://github.com/ariarzer/my-git-alias
alias customization git script
Last synced: about 2 months ago
JSON representation
My aliases for git. Easy rebase all you branch and much more!
- Host: GitHub
- URL: https://github.com/ariarzer/my-git-alias
- Owner: ariarzer
- Created: 2018-07-10T09:08:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T04:03:17.000Z (almost 8 years ago)
- Last Synced: 2025-06-15T16:47:09.951Z (about 1 year ago)
- Topics: alias, customization, git, script
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My aliases for git
### Install:
1. Clone this repository to the `~/`
```bash
cd ~ && git clone https://github.com/ariarzer/my-git-alias.git .gitalias
```
2. Add this fragment to the `.gitconfig` file
```diff
+ [includeIf "gitdir:~/"]
+ path = ~/.gitalias/root
```
### Aliases:
1. **add-global-alias**
Creates global alias...
```diff
~
└─ gitalias
+ └─
+ ├─
+ └─ .sh
```
...and includes them to `root` file.
```diff
+[includeIf "gitdir:~/"]
+ path = ~/.gitalias//
```
_Arguments:_
- `name` - name of the global alias