Bulk-git rm using ruby
Tag: ONE-LINER
Edit Created: 2024/7/26
Updated: 2024/7/26
git status . | ruby -e ‘BEGIN { print “git rm “ }’ -ne ‘print $_.split(/\s+/)[2]+” “ if /deleted/‘ | pbcopy
git status . | ruby -e ‘BEGIN { print “git rm “ }’ -ne ‘print $_.split(/\s+/)[2]+” “ if /deleted/‘ | pbcopy