Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9012173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:55:44+00:00 2026-06-16T02:55:44+00:00

I ran this command twice today, the second time to experiment with the quotes

  • 0

I ran this command twice today, the second time to experiment with the quotes because the setting didn’t seem to have an effect:

git config --global difftool.vs2012.cmd "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" -diff "$LOCAL" "$REMOTE"

Now when I run this:

git config --global --get difftool.vs2012.cmd

I get this:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
error: More than one value for the key difftool.vs2012.cmd: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe

Note the error.

Running git difftool -t vs2012 still doesn’t work, but my question is how to remove the apparent duplicate key-value pair in the Git config file somewhere?

While typing this question, I ran the first command again and I now seem to have it 3 times! Why does it keep adding more and more instead of overwriting?

And where is the config file so I can edit it using Notepad instead of this awful, awful command line syntax?

I thought Git was going to be good the way people bang on about it.

P.S. The following question doesn’t mention how to resolve it.

More than one value for the key user.name Git

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:55:45+00:00Added an answer on June 16, 2026 at 2:55 am

    To remove the duplicates, I had to edit .gitconfig in my home directory (Windows profile) in a text editor that honors the line-endings.

    Git, being a Linux thing, and Linux people thinking that the way they do stuff is in God’s vision, they ignore the line-endings of the Windows platform they’re running on, so be careful not to mangle the file by using just any text editor on Windows.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Today I ran a command like this in the emacs shell: ./someBinary | grep
I have many words [MM] in a file. I ran this command: cat file.txt
I just installed python2.6 parallel to my python2.4. I ran this command ln -s
Never ran into this problem with jQuery before. I have the following: $(document).ready(function() {
I ran this command to download from the following website, with the -p and
I ran this command in shell script- echo grep datadir /etc/my.cnf this is the
I ran this command ffmpeg -i v-16418145218d8d7abdaabec46beb22ecffd2f5d1625.flv -y -acodec aac -ac 2 -ab 160k
I just ran this command update table set mydata = '$' + mydata where
So I ran this command: git checkout -b --track origin/RB_1.4.5 I thought that it
Say, I just ran this command in Vim: :nmap <CR> <C-]> And now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.