修改git提交信息到编辑器为vi [linux操作]
git commit -m 默认使用nano.在 .git/config 的 [core] 段中加上 editor=vi,便可修改成vi,SVN的没试过,应该也可以。如果只是想临时使用vi的话,可以使用 export EDITOR=vi。
git branch来查看分支
git commit -m 默认使用nano.在 .git/config 的 [core] 段中加上 editor=vi,便可修改成vi,SVN的没试过,应该也可以。如果只是想临时使用vi的话,可以使用 export EDITOR=vi。
git branch来查看分支
转载于:https://www.cnblogs.com/lexus/archive/2011/02/24/1963568.html