frostming / legit

Git for Humans, Inspired by GitHub for Mac™.
https://frostming.github.io/legit
BSD 3-Clause "New" or "Revised" License
5.7k stars 218 forks source link

legit --uninstall doesn't work #236

Closed pmlandwehr closed 6 years ago

pmlandwehr commented 6 years ago

This is based on a conda version of legit, but it's version 0.4.1, and --uninstall doesn't work. :(

$ legit --version
legit v0.4.1
⏎                                                                                                                                                                                                                                                                                   $ conda list legit
# packages in environment at /opt/anaconda2:
#
# Name                    Version                   Build  Channel
legit                     0.4.1                    py27_0    conda-forge
⏎                                                                                                                                                                                                                                                                                   $ legit --uninstall
Unknown command --uninstall
legit. A Kenneth Reitz Project

Usage: legit <command>

Commands:

branches
  Get a nice pretty list of branches.
help <command>
  Displays help for legit command.
settings
  Opens legit settings in a text editor.
sync <branch>
  Synchronizes the given branch.
resync <upstream-branch>
  Re-synchronize current branch with specified upstream branch.
publish [<branch>]
  Publishes specified branch to the remote.
unpublish <branch>
  Removes specified branch from the remote.
switch <branch>
  Switches to specified branch.
undo
  Removes the last commit from history.
install
  Installs legit git aliases.
⏎                                                                                                                                                                                                                                                                                   
grahamu commented 6 years ago

@pmlandwehr as you pointed out, you are using an older version of legit, v0.4.1. The new version of legit is 1.0.0, and it does support --uninstall. There is no corresponding command for v0.4.1.