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

Ability to add routines #5

Closed
srujayk opened this issue Mar 5, 2015 · 2 comments
Closed

Ability to add routines #5

srujayk opened this issue Mar 5, 2015 · 2 comments

Comments

@srujayk
Copy link

srujayk commented Mar 5, 2015

It would be cool to have the ability to make some of your own "routines". For example, if you had a system of adding all files, committing with a message, and then pushing the files, you could make a "routine" that allows you to do that all at once.

Ex.
screen shot 2015-03-05 at 11 20 41 am

Instead of running those commands every time, you could make a routine, lets say using the command "rr" (stands for "run routine"), that would run all of those for you.

In other words, running the following command would add all files, commit using the message given, and push the files.

gg rr ’My Message’
@qw3rtman
Copy link
Owner

qw3rtman commented Mar 5, 2015

Currently, there is no API for adding custom commands, so the only way for you to do this right now is to add a command by hand.

This is a great idea and will be added to the TODO. Will try to implement this in the near future. 😄

@srujayk
Copy link
Author

srujayk commented Mar 5, 2015

Ok, thanks!

qw3rtman added a commit that referenced this issue Mar 5, 2015
@srujayk srujayk closed this as completed Mar 5, 2015
newkek added a commit to newkek/gg that referenced this issue Apr 17, 2015
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

2 participants