SkillAgentSearch skills...

GitDiffTool

GitDiffTool is a tool to compare two commits of a gitProject and generate the diff into html. You can read the diff in one html page, the list of modified files on one side and the specifics diff-content on the other.

Install / Use

/learn @luochenxun/GitDiffTool
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<!-- TOC depthFrom:1 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 --> <!-- /TOC -->

gitDiffTool

gitDiffTool is a tool to compare two commits of a gitProject and generate the diff into html(generate in output/ dir of current dir). You can read the diff in one html page, the list of modified files on one side and the specifics diff-content on the other.

usage

Usage: gitDiffTool.py [OPTIONS] [params]

  -d [sCommit] dCommit  : diff two commit(if given one diff with current commit), output the result using html
  -h|--help             : print this usage
  -v|--version          : print the version

example

gitDiffTool.py -d 79809324 341324   # compare tow commit
gitDiffTool.py -d 787234            # compare current branch with given commit
gitDiffTool.py -d develop           # compare current branch with given branch's name

中文简介 chinese

gitDiffTool 是一个Git代码对比工具,可以对Git项目的两个提交进行对比,对比结果将生成一份html报告(结果生成在当前output/目录下)。 你可以在生成的结果页中查看两次提交间代码的diff,结果页仅为单个html页面,左边栏是两次提交有改动的文件列表,右边栏是改动的具体内容。

usage

Usage: gitDiffTool.py [OPTIONS] [params]

  -d [sCommit] dCommit  : diff two commit(if given one diff with current commit), output the result using html
  -h|--help             : print this usage
  -v|--version          : print the version

示例

gitDiffTool.py -d 79809324 341324   # 对比两个commit
gitDiffTool.py -d 787234            # 使用某一commit与当前分支对比
gitDiffTool.py -d develop           # 使用某一分支与当前分支对比
View on GitHub
GitHub Stars8
CategoryProduct
Updated2y ago
Forks2

Languages

Python

Security Score

60/100

Audited on Jul 25, 2023

No findings