git 更新与图形界面

  • git 软件更新:git update-git-for-windows 或者 git update

![在这里插入图片描述]( https://img-blog.csdnimg.cn/20200828230114147.png?x-oss-process=image/watermark ,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NpbmF0XzQzMTI1NTc2,size_16,color_FFFFFF,t_70#pic_center)

  • gitk 是一个历史记录的图形化查看器。
    • 使用:只需 cd 到一个 Git 仓库,然后键入:gitk & 或者 gitk [git log options] &
    • 命令 gitk & 中使用 & 符号进入后台运行 gitk ,使得之后继续可以在 git bash 中输入命令。
    • 对于 gitk 中文乱码情况,将编码设置为 utf-8 即可解决:git config --global gui.encoding utf-8
    • gitk 配置字体和字体大小:依次打开 gitk 菜单 Edit/Preference/Fonts,点击相应模块,配置对应字体属性。

![在这里插入图片描述]( https://img-blog.csdnimg.cn/20200828223117185.png?x-oss-process=image/watermark ,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NpbmF0XzQzMTI1NTc2,size_16,color_FFFFFF,t_70#pic_center)

  • git-gui 是一个用来制作提交的可视化工具。
    • 使用:在命令行中键入 git gui

posted @ 2020-08-30 23:26  ltimaginea  阅读(237)  评论(0)    收藏  举报