Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Recover WP

arthur008
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 18, 2018

Hello, I'm having a problem I got a project in the middle of a wordpress site, but this project has no database, I need to know how I can get back to the version that the site worked on. It's versioned on bitbucket  

Thank you

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2018

Hi Arthur! I'm not sure I understand what you want? Do you need to rever your code to a previous version? You can achieve that by doing a git-revert, you can learn more about it at Undoing changes: git-revert. I'd also recommend checking the official Git documentation at git-revert.

An alternative would be to use the git-reset command, but keep in mind that this will undo all the commits that came after the commit you reset to. You can learn more at Undoing changes: git-reset and visit the official doc at git-reset.

These are both sensitive operations, make sure you have a backup of your code before you go ahead with them.

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events