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

Make it possible to add local aliases to mrgit #111

Open
pjasiun opened this issue Jul 23, 2019 · 0 comments
Open

Make it possible to add local aliases to mrgit #111

pjasiun opened this issue Jul 23, 2019 · 0 comments

Comments

@pjasiun
Copy link

pjasiun commented Jul 23, 2019

It would be great to be able to define custom aliases in mrgit, similar to git aliases. For instance, I use:

git master

What is define this way:

master = !sh -c 'rem=$(git config branch.master.remote) && git fetch --all -p && git checkout master && git reset --hard $rem/master && git submodule update'

It would be great to be able to do:

mrgit master

Which will do:

mrgit exec "git master"

I think that we can start from simple aliases, which assign commands with mrgit exec executions.

@Mgsy Mgsy added this to the next milestone Jul 30, 2019
@pomek pomek removed this from the next milestone Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants