git-rails
git-rails copied to clipboard
Make it work when Rails project is not in repository root
This is useful for monorepos.
This is accomplished by making Git commands operate on relative pathspecs where we can. In case of migrations, absolute pathspecs (:/
prefix) had to be used, because the file name comes from git diff
output.