-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Productivity Tool
Hui Zhang edited this page Feb 14, 2022
·
5 revisions
git log --author='Hui Zhang' --since="2021-01-01" --no-merges | grep -e 'commit [a-zA-Z0-9]*' | wc -l
git log --author="Hui Zhang" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "%s ++ %s -- %s total\n", add, subs, loc }' -
userdel username
useradd -m -d /mnt/username username
passwd username