Kas*_*iya 2 git bash terminal git-bash
我想获得git log与无只additions和deletions无author,date,commit hash和commit message细节,如何识别代码的行数已被修改.目前我能够删除以上所有内容,除非commit message使用以下bash命令
git log origin/master --numstat --since="2 weeks ago" --no-merges | egrep -v 'Author|Date|commit
Run Code Online (Sandbox Code Playgroud)
以上的输出如下
添加IDENTITY-3591的测试用例
4 0个模块/集成/测试 - 公共/ admin-clients/pom.xml 129 0个模块/集成/测试 - 公共/ admin-clients/src/main/java/org/wso2/identity/integration/common/clients/challenge /questions/mgt/ChallengeQuestionMgtAdminClient.java 223 0 modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/challenge/questions/mgt/ChallengeQuestionManagementAdminServiceTestCase.java 2 0 modules /integration/tests-integration/tests-backend/src/test/resources/testng.xml 5 0 pom.xml
更新SAML元数据版本
10 10个模块/ p2-profile-gen/pom.xml 2 2 pom.xml
更新依赖版本
4 4 pom.xml
更改carbon.xml中的版本标记的值,以从项目版本中选取
1 0个模块/ distribution/pom.xml
修复carbon.identity.auth.version名称
1 1 pom.xml
降级identity.data.publisher.oauth.version以避免测试失败
1 1 pom.xml
更新最新版本的依赖项.
10 8 pom.xml
为maven版本插件使用的每个版本属性添加依赖项.
29 28 modules/p2-profile-gen/pom.xml 175 4 pom.xml
如何在没有输出的情况下获得输出commit message?提前致谢
Saj*_*han 13
试试这个:
$ git log --stat --format="%H"
Run Code Online (Sandbox Code Playgroud)
您可以根据需要自定义它.这里
$ git log --pretty=format:"%h $ad- %s [%an]"
Here:
- %ad = author date
- %an = author name
- %h = commit hash (short)
- %H = commit hash (full)
- %s = subject
- %d = ref names
Run Code Online (Sandbox Code Playgroud)
小智 9
试试这个
git log --numstat --format=
Run Code Online (Sandbox Code Playgroud)