How to save the configuration after changing lines from a git config --edit

Viewed 17447

allow me to explain my query here.

I'm trying to reset all authors including my git-pairs

git pair --reset isn't working anymore. A documentation had advised me to do the configuration using git config --edit

I entered the command git config --edit

and removed the

[user] and [git-pair] values...

How can I save the configuration after? Should I hit something from the keyboard or what.

I just know how to insert stuffs in there by pressing Insert button from keyboard but I dont know how to save the config and go back to the command prompt earlier.

I want to save the new config file which is:

[core]
        repositoryformatversion = 0
        filemode = false
        bare = false
        logallrefupdates = true
        symlinks = false
        ignorecase = true
        hideDotFiles = dotGitOnly
~
2 Answers
Related