Last active
March 22, 2022 23:13
-
-
Save altherlex/46ba72b5c279190c3ed5f123e19ff9b2 to your computer and use it in GitHub Desktop.
commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git update-index --no-assume-unchanged .gitignore Gemfile Gemfile.lock | |
$ git update-index --assume-unchanged .gitignore Gemfile Gemfile.lock | |
$ mysqldump -u username -R oldDbName > oldDbName.sql | |
$ mysqladmin -u username create newDbName | |
$ mysql -u username newDbName < oldDbName.sql | |
# No ruby output during rspec | |
$ RUBYOPT="-W0" bundle exec rspec spec --exclude-pattern "spec/system/**/*.rb" --force-colour |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment