TOOL/VCS 2019. 12. 23. 13:26

Git

당신이 작업하는 Git폴더에 가서 다음과 같이 다음 git 명령어를 때려보자

작업자별 작업 코드 줄 수(code line count) 확인

    1. 명령어 (조금 오래 걸린다..)

      git ls-files | while read f; do git blame --line-porcelain $f | grep '^author '; done | sort -f | uniq -ic | sort -n
    1. 결과

           1 author Administrator 
           2 author Not Committed Yet 
          17 Binary file (standard input) matches 
         297 author someone
         676 author sss787 
        3658 author sam 
        9222 author jangabc
       33037 author sjeesj

Reference - 참조

'TOOL > VCS' 카테고리의 다른 글

[Git] remote 추가하기  (0) 2019.12.23
[Git] 모든 태그를 지우기  (0) 2017.09.23
[Git] 현재의 tag명, branch명 알아내기  (0) 2017.04.27
[Git] gitk 소스내용 한글 깨짐 해결  (0) 2016.08.12
[Git] reflog 작업 복구하기  (0) 2016.07.15