You can create an alias in git like this:
vim ~/.gitconfig
ap = !hr && git add -p # Add this line to your filevim ~/.gitconfig
ap = !hr && git add -p # Add this line to your fileNo comments yet.