Comments (6)
I had to sit with it for a bit, but I've come around to seeing value in having the git rebase
aliases use the grb*
prefix. This would result in changes to:
grm
=>grbm
grmi
=>grbmi
grma
=>grbma
There are a couple that have the r
later in their names, ie:
alias gpr='git pull --rebase'
alias gprom='git fetch origin $(get_default_branch) && git rebase ...
I think its okay to leave these as-is (ie don't change to *rb*
)
(side note re: gdel
- I think this just needs to go away)
from bash-it.
Good catch ! Hope it didn't hurt too much when you discovered it ...
My take is to remove both the grm
as "git rm"
alias AND the gdel
alias, which deletes a branch but you wouldn't know from the alias name ...
gr*
seems solidly assigned to rebase
and I prefer consistency over most other things ...
from bash-it.
gr*
seems solidly assigned torebase
and I prefer consistency over most other things ...
Actually, my take is, following your suggestion in #2159 (review), that grb
should be assigned to rebase
. Everything that is related to "rebase" may hence be prefixed by grb
.
Following that logic we may keep grm
as an alias for "remove" (which is easy for muscle memory, because it's very close to the original git rm
) and, optionally, keep gdel
as an alternative. – I've never used gdel
before, TBH. Did you?
In my brain, for example, gr
is wired to "remote" (e.g. grv
= git remote -v
).
from bash-it.
Then again, git pull
is gl
, and git push
is gp
, currently. That clashes with what you just proposed. 😟
from bash-it.
I don't see how they are related at all, as I was just seconding what you already proposed (git rebase aliases using prefix grb*
), however ...
gl
as an alias for git pull
is an abomination that also needs to go away.
gp
is too ambiguous and should also go away (and in fact I disable it in my local)
gpu*
for git push
aliases and gpl*
for git pull
aliases is almost okay, but still a bit tough ...
In general, I have a lot of issues with the git aliases, but my opinion is only a small drop in the bucket and, without a better place for discord on such things, I don't worry about trying to fix the whole file :)
from bash-it.
I would tackle this as you suggested above, once we get #2159 merged.
from bash-it.
Related Issues (20)
- [Bug]: System alias ll='ls -l --color=auto' with aliases completion enabled breaks bash file/directory tab completion behavior HOT 4
- [Feature]: show plugins option (--verbose?) to show plugin source URI/http uri - as there is no plugin documentation.
- [Feature]: Add GNU-Screen and tmux indication at PS1 HOT 2
- Bash ur
- Besh
- [Bug]: bash-it preview is not working HOT 2
- [Bug]: After dev channel update getting source error HOT 4
- Want to learn bash?
- Why does installation add a interpreter directive (shebang) to bash_profile? HOT 1
- bash: warning: setlocale: LC_ALL: cannot change locale (en_uS.UTF-8): No such file or directory HOT 1
- [Bug]: install bash_it on PVE debian-12-genericcloud-amd64-20230612-1409.qcow2 HOT 1
- [Request]: do you need maintainers? HOT 2
- [Feature]: nvm: only show node version if folder has package.json
- [Bug]: .bash_it/lib/history.bash reuses HISTCONTROL for it's own incorrect purposes by default HOT 3
- [Bug]: Uninstall script shouldn't delete existing bashrc and mindlessly pull from old backup
- [Feature]: allow customization of `CONFIG_FILE` during install.sh
- Does `bash-it` load `bash-preexec` by default? HOT 6
- [Feature]: Add completion for -c option to tmux new-session command
- [Feature]: Artisan (Laravel) completion
- Calc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash-it.