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
What happened with ggpush, gap and others? #3972
Comments
+1 |
8 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
I forked and reverted this commit as temp solution. Maybe it will be helpful for you:
|
Hi guys, and thanks for voicing your concerns. I am the new maintainer of the Git plugin, and the one who (with help from many others contributors) put together this big update. I have posted an answer in the PR thread, please check it out and discuss possible solutions over there. In order to handle this, would you all be so kind as to make a list of all the aliases that you are missing. We know of Once this is all dealt with, we can discuss how to improve the updating process so this does not happen again. |
Hey @ncanceill, I guess I will have to add that gap alias to my own aliases, besides that, if you bring the gg* bunch back I will be more than happy. Thanks a lot! |
I may just be missing something but it seems that the functionality of ➜ SampleApp git:(sample-branch) ✗ ggp --force
To git@github.com:doomspork/SampleApp.git
! [rejected] sample-branch -> sample-branch (non-fast-forward)
error: failed to push some refs to 'git@github.com:doomspork/SampleApp.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
➜ SampleApp git:(sample-branch) ✗ git push origin sample-branch --force
Counting objects: 13, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 1.49 KiB | 0 bytes/s, done.
Total 13 (delta 9), reused 0 (delta 0)
To git@github.com:doomspork/SampleApp.git
+ 976defc...4ec7719 sample-branch -> sample-branch (forced update) |
@doomspork this may be related to what @heliostatic reported, can you check if the |
+1. I have read the entire other thread but I cannot see a single line of explanation as to why this change was made. All I see is an issue #1601 asking to add a default branch to those aliases. And I cannot agree more with what was said, "we have a poor update process". As was suggested a couple of times, a deprecation warning would have been much better. Especially when working on some as spread as oh-my-zsh. |
There was a long debate on the form the This being said, the Git plugin update only shows that our update process is not suiting many users, and I will be working hard with all contributors to improve it. We already have many ideas, like a safe aliasing framework, an official mailing list to announce coming changes and deprecations, clear contributing guidelines, and an improved wiki... coming soon once the Git plugin issues are solved. Once again, all suggestions are welcome! Also, please notify me ASAP of anything else in the Git plugin that may be broken or missing! |
by popular demand, see ohmyzsh#3972
Everybody PLEASE report any trouble or missing alias to #3990, thank you! |
@doomspork actually you issue is unrelated to all the rest, it is a side-effect of the rewrite from aliases to functions. I will work on a fix and add this to #3990. |
@ncanceill thanks for the heads up. I really appreciate all the hard work you guys are doing 👍 |
@doomspork thanks, really appreciate your support, also for forced push you now have |
@ncanceill That's awesome and very useful to me, thanks! 🎉 |
I recommend removing this alias, and allow for |
@blueyed we know how you feel about destructive aliases, but given how much love this one is getting I do not think it should be removed. You can still I will work on allowing options through |
I am not convinced this is the case. |
Anyone want to weigh in on this debate? |
👍 for The |
@doomspork |
I agree with @blueyed on |
good to know, I wasn't aware of this change. keep the good work @ncanceill |
And I agree on the |
OK what would you guys think about an option, properly documented in the plugin's ReadMe and wiki, that would either enable or disable potentially destructive aliases like For those who agree, what should the default be? |
I think it's not worth the effort, especially for aliases that only add |
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
* master: virtualenvwrapper: Replace "realpath" with portable zsh-native `:A` and `:h` modifiers Plugin now uses completion script from docker-compose repo. git plugin: fix ggl to avoid empty string see ohmyzsh#2790 (comment) Fix plugin/git ggpull and ggpush backward compatibility Fix merge conflict for jira-prefix and jira add comment Add missing space causing parse error. Fixed odd chars on mac for agnoster theme Add mix-fast plugin (similar to rake-fast) Update _docker Adding quotes to git completion discovery path A paver (Python build and configuration utility) plugin Revert "Added migration notification for rails plugin" Added github in web_search plugin. last-working-dir working with spaces in dirnames use local options to set no_equals before sourcing bash completion script git plugin: new/changed aliases gaa was brought back by popular demand — see ohmyzsh#3535 gap was replaced with gapa — see ohmyzsh#3682 gdc was replaced with gdca — see ohmyzsh#3977 Add reference to bundler plugin issue in README Add `leaves` command to `brew` completion remove trash command from osx plugin Added README.md file for ForkLift plugin Added README.md file for atom plugin Added README.md file Fix README.md for sst command Plugins: vi-mode: Add first README file Plugins: archlinux - add basic README. Plugins: archlinux - use command -v in favor of which Plugins: apache2-macports - add README Added references to the `external themes` wiki page. git plugin: fix ggpnp when called without argument also allow multiple arguments for ggp and ggl aliases * Added header with help and information * Moved git information to left prompt, with support for: * +ZSH_THEME_GIT_PROMPT_UNTRACKED, MODIFIED, STASHED, ADDED, UPSTREAM STATUS (if applicable) * Removed right prompt * Refactored following Google's guidelines for scripts [ http://goo.gl/oJSXH2 ] * Using local variables where applicable Update Mix complition upto 1.0.4 Update aliases in laravel5.plugin.zsh file Update taskwarrior.plugin.zsh Renamed 'ss' alias to 'sstat' (to avoid collision with /bin/ss). Fixed typo in README Update bgnotify.plugin.zsh fix typo adb: add more commands Update README.markdown Fixed jump pluging to display the right mark name on 'mark . ' Added README for mercurial plugin Add git to prerequisites add help link to install zsh sublime: Make subl a function so it can be called from functions in other modules Added support for detecting Sublime Text 3 on Arch Linux Update history-substring-search README Added the tugboat autocompletion plugin git plugin: make b local in gg* functions because it leaked, and led to ohmyzsh#3991 git plugin: fix error msg in gwip alias because git rm will fail when no files were deleted git plugin: global var for git command due to issues like ohmyzsh#3962 until a proper plugin-loading system is implemented git plugin: bring back olg gg aliases by popular demand, see ohmyzsh#3972 More run and create options Only load url-quote-magic if it is available. Partially fixes ohmyzsh#3614 Disable globbing when executing `zeus rake` aliases to enable use of square brackets without escaping Add git_prompt_behind and git_prompt_exists add kitchen completion plugin from @petere Added a possibility to display the remote branch and the number of commits you are ahead or behind Fix homebrew directory in aws plugin. Recognize comments by default. Move custon *.zsh file sourcing up so that they can load plugins and other things that come after. added comment functionality Improved the `_git_time_since_commit` function. Remove docker insert command Add README for httpie plugin Fix typo in $VCS_CLEAN_COLOR in adben theme Grep bug in Agnoster generate with 'pod --completion-script' /cc thx to @ajmccall updated the command list to the latest cocoapod version (0.33.0) No input for Update Check defaults to Yes Add rdrs method to reset the database(s) Set AWS_PROFILE and use existing RPROMPT Add new boot2docker options Add installation instructions to README Round 3 of batch-closing obsolete issues Respect $ZSH_CACHE_DIR when creating fasd's cache Create new aliases for homebrew plugin Add sublime text 3 paths to check list Don't leak extendedglob to global environment. Detect the .venv in any parent directory of the current directory Add CakePHP3 plugin Differing upgrade and safe-upgrade Many updates to git plugin (see ohmyzsh#2790) Use $EDITOR Fix 'chsh' by checking '/etc/shells' instead of using 'which' Add alias of bundle clean Added aliases for docker compose add markdown extension to README Add readme and add new alias cfpc: paste+compile+copy Update template zshrc with HYPHEN_INSENSITIVE typofix Add coffeescript aliases: cf, cfc, cfp Add hyphen insensitivity Fixing some issues where show repeated weird values, and fixed commands that need the container autocomplete without being running, like start, now it autocompletes showing all the containers so you can start without knowing the right name Fix minimal.zsh-theme's check for in_svn and add support for mercurial Add autocomplete for frontend-search Fixes gradle autocomplete. Regex did not include subproject tasks before. fix stackoverflow url in search Use the newest Vundle commands Add stackoverflow link Fixed Typo. Use camelCase for npm aliases Fix echo nothing if $SHORT_HOST doesn't exist. Add .ipsw to the extract plugin. Minor cosmetic fix to minimal theme [boot2docker plugin] Initial version fix paclist() for non-english locales gitfast: back-port prompt fix gitfast: update to upstream v1.9.2
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
by popular demand, see ohmyzsh#3972
https://github.com/ohmyzsh/ohmyzsh/blob/93c837fec8e9fe61509b9dff9e909e84f7ebe32d/plugins/git/git.plugin.zsh#L1-L293 Copyright (c) 2009-2020 Robby Russell and [contributors](https://github.com/ohmyzsh/ohmyzsh/contributors) TAnks to those who have contributed to fix those 20+ issues: ohmyzsh/ohmyzsh#1790 ohmyzsh/ohmyzsh#3535 ohmyzsh/ohmyzsh#3682 ohmyzsh/ohmyzsh#3962 ohmyzsh/ohmyzsh#3972 ohmyzsh/ohmyzsh#3977 ohmyzsh/ohmyzsh#3991 ohmyzsh/ohmyzsh#4085 ohmyzsh/ohmyzsh#4727 ohmyzsh/ohmyzsh#5130 ohmyzsh/ohmyzsh#5179 ohmyzsh/ohmyzsh#5362 ohmyzsh/ohmyzsh#5442 ohmyzsh/ohmyzsh#6329 ohmyzsh/ohmyzsh#6793 ohmyzsh/ohmyzsh#7682 ohmyzsh/ohmyzsh#7716 ohmyzsh/ohmyzsh#7754 ohmyzsh/ohmyzsh#867 ohmyzsh/ohmyzsh#9103 ohmyzsh/ohmyzsh#9114 and those who help develop theses aliases and function whith theses Pull 40+ Requests: ohmyzsh/ohmyzsh#2790 ohmyzsh/ohmyzsh#3167 ohmyzsh/ohmyzsh#4304 ohmyzsh/ohmyzsh#4751 ohmyzsh/ohmyzsh#4830 ohmyzsh/ohmyzsh#4993 ohmyzsh/ohmyzsh#5025 ohmyzsh/ohmyzsh#5178 ohmyzsh/ohmyzsh#5271 ohmyzsh/ohmyzsh#5287 ohmyzsh/ohmyzsh#5306 ohmyzsh/ohmyzsh#5307 ohmyzsh/ohmyzsh#5390 ohmyzsh/ohmyzsh#5417 ohmyzsh/ohmyzsh#5433 ohmyzsh/ohmyzsh#5511 ohmyzsh/ohmyzsh#5591 ohmyzsh/ohmyzsh#5643 ohmyzsh/ohmyzsh#5729 ohmyzsh/ohmyzsh#5844 ohmyzsh/ohmyzsh#5849 ohmyzsh/ohmyzsh#5871 ohmyzsh/ohmyzsh#6006 ohmyzsh/ohmyzsh#6031 ohmyzsh/ohmyzsh#6059 ohmyzsh/ohmyzsh#6079 ohmyzsh/ohmyzsh#6297 ohmyzsh/ohmyzsh#6378 ohmyzsh/ohmyzsh#6789 ohmyzsh/ohmyzsh#6791 ohmyzsh/ohmyzsh#6893 ohmyzsh/ohmyzsh#7064 ohmyzsh/ohmyzsh#7472 ohmyzsh/ohmyzsh#7556 ohmyzsh/ohmyzsh#7629 ohmyzsh/ohmyzsh#7630 ohmyzsh/ohmyzsh#7724 ohmyzsh/ohmyzsh#7841 ohmyzsh/ohmyzsh#8089 ohmyzsh/ohmyzsh#8563 ohmyzsh/ohmyzsh#8617 ohmyzsh/ohmyzsh#8622 ohmyzsh/ohmyzsh#8697 ohmyzsh/ohmyzsh#8902 ohmyzsh/ohmyzsh#8935 ohmyzsh/ohmyzsh#8957 ohmyzsh/ohmyzsh#9049 Signed-off-by: Benjamin Vincent (Luxcium) <luxcium@neb401.com>
I can see here a lot of aliases been removed... this breaks my workflow and I guess others too, could you explain the rationale behind those removals?
The text was updated successfully, but these errors were encountered: