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 be
git config --global user.editor vim
CONFIG is your main repo setting, Without this, you won't able to push anything
Written by Widy Graycloud
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Control
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#