Skip to content

ariarzer/my-git-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My aliases for git

Install:

  1. Clone this repository to the ~/

    cd ~ && git clone https://github.com/ariarzer/my-git-alias.git .gitalias
  2. Add this fragment to the .gitconfig file

    + [includeIf "gitdir:~/"]
    +   	path = ~/.gitalias/root  

Aliases:

  1. add-global-alias

    Creates global alias...

      ~
      └─ gitalias
    +     └─ <name>
    +        ├─ <name>
    +        └─ <name>.sh

    ...and includes them to root file.

    +[includeIf "gitdir:~/"]
    +   path = ~/.gitalias/<name>/<name>

    Arguments:

    • name - name of the global alias

About

My aliases for git. Easy rebase all you branch and much more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages