Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-7838

Error when reverting changes when git verbose console output is enabled : unknown switch `v'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.2.4-beta-0, 2.3.5.0
    • Fix Version/s: 2.4.0-beta-0
    • Component/s: Beta, Git
    • Labels:
    • Environment:

      Windows 8.1

    • Last commented by user?:
      true
    • Symptom Severity:
      Minor

      Description

      When using verbose git command, discarding of changes does not work, using both embedded as system git.

      Error message is:

      error: unknown switch `v'

      full error message:

       

      git -c diff.mnemonicprefix=false -c core.quotepath=false checkout -v --MYFILE
      error: unknown switch `v'
      usage: git checkout [<options>] <branch>
       or: git checkout [<options>] [<branch>] -- <file>...-q, --quiet suppress progress reporting
       -b <branch> create and checkout a new branch
       -B <branch> create/reset and checkout a branch
       -l create reflog for new branch
       --detach detach HEAD at named commit
       -t, --track set upstream info for new branch
       --orphan <new-branch>
       new unparented branch
       -2, --ours checkout our version for unmerged files
       -3, --theirs checkout their version for unmerged files
       -f, --force force checkout (throw away local modifications)
       -m, --merge perform a 3-way merge with the new branch
       --overwrite-ignore update ignored files (default)
       --conflict <style> conflict style (merge or diff3)
       -p, --patch select hunks interactively
       --ignore-skip-worktree-bits
       do not limit pathspecs to sparse entries only
       --ignore-other-worktrees
       do not check if another worktree is holding the given ref
       --progress force progress reporting
      

        Attachments

          Activity

            People

            • Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                1 year, 12 weeks, 4 days ago