Last Updated: December 29, 2017
· grazerc0de

Git Configuration

On your git folder
Goto .git directory by
cd .git

Notice if you run ls you'll see the CONFIG file
Now run this command to edit the file.

git config --edit

The editor is base in your global user.editor configuration. In this case I use vim so the config should begit config --global user.editor vim

CONFIG is your main repo setting, Without this, you won't able to push anything

2 Responses
Add your response

Why not simply git config --edit?

over 1 year ago ·

thanks for the advicem well you know I'm still learning

over 1 year ago ·