我有以下文件: -
commit67e255f3c53fe69897dada1cae609a32e
Author:A<a.b@example.com>
Date:WedNov819:40:252017+0530
FileA.properties
commitd46b7275196bd23b02001523a1317e7efaf0
Author:B<b.c@example.com>
Date:WedNov816:20:492017+0530
FileB.properties
commit9598b6ac4e67bfb90f87c0164b06dca97144
Author:C<c.d@example.com>
Date:WedNov813:37:422017+0530
FileC.properties
我想让它更改字符串commit = commit1等等。
我想要以下输出: -
commit1=67e255f3c53fe69897dada1cae609a32e
Author1=A<a.b@example.com>
Date1=WedNov819:40:252017+0530
File1=FileA.properties
commit2=d46b7275196bd23b02001523a1317e7efaf0
Author2=B<b.c@example.com>
Date2=WedNov816:20:492017+0530
File2=FileB.properties
commit3=9598b6ac4e67bfb90f87c0164b06dca97144
Author3=C<c.d@example.com>
Date3=WedNov813:37:422017+0530
File3=FileC.properties