how to change the github login details on a localhost git bash?
I have configure my GitHub repository with my friend’s github.username and github.token at the time of installation, I want to change from that id to my own id.
How should we do that?
Those two parameters are managed by Git config:
If you want to change them just for a project, you can remove the
--globalparameter and repeat that command just in a specific repo.This help/setup script illustrates the steps necessary for GitHub authentication.
See also “How to setup Git Bash (msysgit) with a github token or ssh key“.