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

some new gitalias features #68

Closed
wants to merge 6 commits into from

Conversation

kobusjooste
Copy link
Contributor

I found these additions helpful. Feel free to cherry-pick. Or not.

@joelparkerhenderson
Copy link
Member

Good ideas, thank you. I especially appreciate that you're working with the existing formatting and intention, because these aliases are widespread among many companies.

Here's what I'm adding now, to match up with what you're suggesting:

# branch verbose: When in list mode, show sha1, commit subject line, relationship, etc.
bv = branch --verbose

# branch verbose x2: When in list mode, show path, upstream branch, etc.
bvv = branch --verbose --verbose

# fetch all - fetch all remotes.
fa = fetch --all

# fetch all verbose - fetch all remotes, with verbose output.
fav = fetch --all --verbose

I'll respectfully decline your suggestions of changing abort from just a to ab, because of the goal of having each letter expand to one word. I see your amend item, and I agree that's likely a better use of rebase rba; however, there's no obvious way to adjust that one, given the existing widespread deployment and goal of continuity.

The status --short is explicit because it in practice, what I've seen is some teams override the word status to do other kinds of log status. In other words.

I'll take a closer look at your other suggestions soon, when I have a bit more time. I very much appreciate you doing this PR and making so many good additions. Thanks!

@kobusjooste kobusjooste deleted the newfeatures branch August 24, 2021 12:31
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