Helpful Links
Tips
Reset Commits
git reset --hard <commidId> && git push --force
Renaming
Renames files recursively:
find . -exec rename -s 'CIPost' 'CIFeedUnit' {} +
find . | grep 'recon' | rename -s 'recon' 'refocus'
Rename file contents recursively:
export LC_CTYPE=C && export LANG=C && find . -type f -exec sed -i '' -e 's/CIPost/CIFeedUnit/g' {} +
git ls-files -z | xargs -0 sed -i '' -e 's/recon/refocus/g'
- Sources: [1][2]