1. Run this code to start git rebase $ git rebase -i {COMMIT_HASH} 2. Change the lines that you want to edit from “pick” to “edit” 3. $ git commit –amend –author=”Author Name <email@address.com>” 4. $ git rebase –continue 5. Use code below to update your origin with the updated commits. $ git push -f […]
Git add recursively for specific extension only
find . -name ‘*.java’ -print0 | xargs -0 git add