摘要: 先看文章【sourceTree 自定义操作】:https://www.cnblogs.com/-mrl/p/13885674.html 然后执行: sh脚本代码: #!/bin/bash echo 项目路径:$1 echo 选中文件:$2 current_branch=`git symbolic-r 阅读全文
posted @ 2020-10-27 17:58 一个人的孤独自白 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 利用sourcetree自定义操作调用git-bash、cmd、powershell等命令执行工具,传入自定义脚本命令并运行。 sourcetree 工具→选项→自定义操作 sourcetree 操作→自定义操作,选择要执行的自定义命令,执行效果如图 sh脚本代码: #!/bin/bash echo 阅读全文
posted @ 2020-10-27 16:38 一个人的孤独自白 阅读(2116) 评论(0) 推荐(0) 编辑
摘要: Git 提供了四种方法来忽略文件,分别适用不同情况,如下: 1、全局忽略 忽略规则由本机所有仓库共用,配置方法如下:编辑 ~/.gitconfig 文件, [user] name = yourname email = yourname@email.com [gui] encoding = utf-8 阅读全文
posted @ 2020-10-27 15:26 一个人的孤独自白 阅读(12823) 评论(1) 推荐(1) 编辑
摘要: 官网地址:https://plugins.jetbrains.com/plugin/8579-translation github地址:https://github.com/YiiGuxing/TranslationPlugin 安装方法: 1.使用 IDE 内置插件系统安装: Preference 阅读全文
posted @ 2020-10-27 11:03 一个人的孤独自白 阅读(720) 评论(0) 推荐(0) 编辑