Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

GitExtension Settings

GitExtension Settings


 Many times I faced issue with git extensions setting, due to not proper settings it was not working properly. 

So I have listed out setting for git extension.


Editor = C:/Program Files (x86)/GitExtensions/GitExtensions.exe fileeditor
Mergetool = TortoiseMerge
Path to mergetool =  C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe
Mergetool
 command = 
C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe /base:"$BASE" /mine:"$LOCAL" /theirs:"$REMOTE" /merged:"$MERGED"
Difftool =  tmerge
Path to difftool =  C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe
Difftool command =  C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe "$LOCAL" "$REMOTE"


Hope this will help you and save your time.


Enjoy !!!

:)

Git remote: HTTP Basic: Access denied and fatal Authentication

Git remote: HTTP Basic: Access denied and fatal Authentication



Sometimes, I am facing issue with Git and getting error that - "Git remote: HTTP Basic: Access denied and fatal Authentication".

Problem occurs while I change my password of Git. 

So, we need to update git password in Windows system.


Solution 1

Go to Windows Credential Manager (press Windows Key and type 'credential') to edit the git entry under Windows Credentials. Replace old password with the new one.

Solution 2

1. Run below command from cmd

git config --system --unset credential.helper

And when I execute the above command, I got another error

error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied

2. And then I removed gitconfig file from C:\Program Files\Git\mingw64/etc/ location

3. After that use git command like git pull or git push, it asked me for username and password. applying valid username and password and git command working.


Hope this will help you and save your time.

Enjoy !!!

:)