【Electron教程】第1节 Electron 简介与环境搭建 - 教程
2025/12/17 14:52:08
在使用 Git 时,我们可能需要进行一些配置操作。以下是一些常见的配置命令:
-设置默认编辑器:可以通过执行以下命令来设置默认编辑器,例如将其设置为vi:
ocs@ubuntu:~/ocs$ git config --global core.editor vigit config --list命令可以查看当前的配置信息:ocs@ubuntu:~/ocs$ git config --list user.name=Bo Rothwell user.email=bo@onecoursesource.com core.editor=editor_name core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=https://gitlab.com/borothwell/ocs.git remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master