git: Update alias and function deprecations #13149
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Standards checklist:
Changes:
git pull --rebase
aliasesggpull
/ggpur
/ggpush
for their alternative functionscurrent_branch
function in favor of what's in coreOther comments:
I'm gonna be honest, I only wanted to just be able to use gup without
unalias
-ing it first in my zshrc. But the code for deprecation warnings seemed like a waste to just remove, and after taking a look it felt like some parts needed updates too, so why not make use of it so we can proceed with a system where we can actually transition functionalities from soft deprecation to removal? Some of these have been sitting here for a while now, after all (>2 years). Appreciate any feedback/conversation regarding this.