开发者 |
ExpandedFronts
mattshaw |
---|---|
更新时间 | 2018年12月13日 12:49 |
PHP版本: | 3.9.2 及以上 |
WordPress版本: | 5.0 |
版权: | GPLv3 |
版权网址: | 版权信息 |
content: Deny from all
If you're using NGINX, you'll have to update your configuration file with something similar to the following:
location ~ path/to/your-repo/.git { deny all; }
This issue can be avoided entirely by using SSH to authenticate, which is recommended in most cases. If using SSH, you will need to generate a SSH key on the server and add it to the remote repository (Bitbucket and Github both support SSH).
It is also adviseable to add Revisr to the .gitignore file via the settings page to make sure that reverts don't rollback any new functionality.You have complete control, and can decide whether you want to track the entire database, just certain tables, or if you don't want to track the database at all. Then, during a backup, the tracked database tables are exported via "mysqldump". When importing or restoring the database to an earlier commit, Revisr first takes a backup of the existing database, creating a restore point from immediately before the import that can be reverted to if needed. You can also set a "Development URL" that will be automatically replaced in the database during import- allowing for backups and restores that work on both your dev and live environments.
This is either an authentication issue or the remote branch is ahead of yours.
Care should be taken when dealing with upgrades that depend on the database. Taking verified backups before and after major changes is always recommended.