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 'git acm' alias #60

Closed
wants to merge 1 commit into from
Closed

Add 'git acm' alias #60

wants to merge 1 commit into from

Conversation

MrKou47
Copy link

@MrKou47 MrKou47 commented Jul 30, 2020

compose git add . and git commit command.

@joelparkerhenderson
Copy link
Member

Thanks for the pull request!

Generally the short gitalias entries are intended for one command, in a kind of functional style. This is so the commands are friendlier to compose together for novices and also for experts.(And if there's one in the list of short existing aliases that mixes multiple commands, it's probably a good one to remove.)

Spacing and quoting tends to be tricky cross-platform, so I suggest that for your acm alias, it's a good one for your own personal git alias list, rather than the gitalias repo. I do appreciate the work!

Yours:

git acm Add feature foo bar because of lorem ipsum

Existing gitalias that's similar:

git a .
git cm "Add feature foo bar because of lorem ipsum"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants