jira - GIT - Listing of All Files with Comments -
can let me know how create list of files exists in git repo commit comments far.
i want list files git commit comments included jira issue id , possible ? if yes can me out on new both git , unix based commands. thanks
------------------------ file name | comments ----------------------- abc.java | cxxx-123, added feature -----------------------
the files don't have comments.
the commits have commit message. talking about.
you can use git log --oneline -- $filename see commits touched file commit message.
if need last commit each file can use git ls-files files , git log -1 last commit.
for in $(git ls-files); printf "%-30s %s\n" "$i" "$(git log -1 --oneline -- $i)" done
Comments
Post a Comment