[Git] Default editor is vimgit config
git config --global core.editor vim
Reference:
- Git commit -a opens GNU nano 2.2.6 How should I change it to open Vim instead?…Read More
[Git] Ignore dot file Add .gitignore in your root directory
If you want to ignore all dotfiles, add this in your .gitignore file (If it doesn’t exist, add it)
.*
!.gitign…Read More
[git] undo commit Add follow script into .gitconfig
[alias]
undo-commit = reset --soft HEAD^
When you want to undo the git command. Just type git undo-commit will…Read More
0 意見:
張貼留言