Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for chained aliases #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 20, 2019

  1. Add support for chained aliases

    This allows you to specify an array for an alias and have it execute
    each of the commands in turn.
    
    For example you may specify the following configuration:
    
        "co": [
            "fix",
            "pull -m fetch",
            "!git reset --hard FETCH_HEAD"
        ],
    
    This will lead to the command `mdk co 12345` running:
    
        mdk fix 12345
        mdk pull -m fetch 12345
        git reset --hard FETCH_HEAD
    andrewnicols committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d1c86d6 View commit details
    Browse the repository at this point in the history