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

git-commit plugin's "revert" is in conflict with "git revert" command #12007

Closed
yf-yang opened this issue Oct 25, 2023 · 1 comment
Closed

git-commit plugin's "revert" is in conflict with "git revert" command #12007

yf-yang opened this issue Oct 25, 2023 · 1 comment
Labels
Area: plugin Issue or PR related to a plugin Bug Something isn't working

Comments

@yf-yang
Copy link

yf-yang commented Oct 25, 2023

Describe the bug

After enable git-commit, "git revert 'message'" won't work because "git revert" is a git command.

Steps to reproduce

  1. Enable plugin 'git-commit'
  2. Add something by 'git add'
  3. Try to make a commit with "git revert 'msg'"

Expected behavior

By typing "git someAlternativeRevert 'msg'", it generates a commit message "revert: msg"

Screenshots and recordings

No response

OS / Linux distribution

Unrelated

Zsh version

5.8.1

Oh My Zsh version

master (01f5512)

Terminal emulator

Unrelated

If using WSL on Windows, which version of WSL

None

Additional context

No response

@yf-yang yf-yang added the Bug Something isn't working label Oct 25, 2023
@mcornella
Copy link
Member

Fixed in 048455c, now you should use git rev instead, as there is no way around the naming conflict.

Thanks for reporting!

@mcornella mcornella added the Area: plugin Issue or PR related to a plugin label Oct 25, 2023
pull bot pushed a commit to kis87988/ohmyzsh that referenced this issue Oct 26, 2023
QwertyMax pushed a commit to QwertyMax/ohmyzsh that referenced this issue Nov 8, 2023
claudenm pushed a commit to claudenm/ohmyzsh that referenced this issue Jan 9, 2024
fdelacruz pushed a commit to fdelacruz/ohmyzsh that referenced this issue Jan 21, 2024
jmussmann pushed a commit to jmussmann/oh-my-zsh that referenced this issue Feb 17, 2024
kis87988 pushed a commit to kis87988/ohmyzsh that referenced this issue Mar 26, 2024
pull bot pushed a commit to kis87988/ohmyzsh that referenced this issue Mar 27, 2024
lukaselmer pushed a commit to lukaselmer/ohmyzsh that referenced this issue Apr 16, 2024
cschuyle pushed a commit to cschuyle/ohmyzsh that referenced this issue Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin Bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants