-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Improve git aliases #2176
Improve git aliases #2176
Conversation
a56b6b3
to
54cdf3a
Compare
aliases/available/git.aliases.bash
Outdated
else | ||
echo master | ||
fi | ||
git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to use a bash substitution instead of farming out to sed
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is very much possible, good idea, changed it in the newest commit.
think I should squash it down later with the original commit if it looks good
d9c339c
to
949309d
Compare
949309d
to
d9c339c
Compare
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
clean_files.txt
and formatted it usinglint_clean_files.sh
.