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 single character push #42

Closed
wants to merge 1 commit into from
Closed

Add single character push #42

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 6, 2018

This is a fairly common git command that could deserve a single character alias.

@@ -13,6 +13,7 @@
d = diff
f = fetch
g = grep
h = push
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me git h looks too much like git help.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. Do you think there would be a better letter for push?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Letter u perhaps. The namespace is pretty limited. :-)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is :) I was thinking u but then I always got that confused with pull.

@joelparkerhenderson
Copy link
Member

Thanks. You're right it's common. I haven't found any convention for a shortcut among many developer teams though, for a one-letter.

What I have found is many kinds of workflows that layer on top of a typical push. For example, see the aliases get and put, and the aliases topic-startandtopic-stop`.

One person suggested q for push, as the mirror of p for pull. Another person suggested x as akin to a check box that means check in.

@joelparkerhenderson joelparkerhenderson deleted the branch GitAlias:master April 14, 2021 18:12
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

3 participants