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

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!

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