Don't mind the title if it is inaccurate, i am not sure what the issue is called specifically but i will try to describe it as good as i can. This question will not have any illustrations until Monday, as the project is for work and i cannot access the db at home.
PS: if anyone is wondering why i ask this question now, as i cannot fix it until Monday anyway, is simply because i don't wanna show up at work on Monday without a fix (hopefully)
.
The issue
Earlier today i decided to make some dramatic changes to my navigation tree, changing some document templates (removing, changing and deleting), so my tree was better organized yet as functional as before.
It all seemed to work just fine, but as i wanted to test it out there was something that wasn't working correctly (big surprise), i could not fix this issue either but it is not related to this question i need help with (issue name 'iconator').
As this had nothing to do with my changes in document types i figured: "okay, lets just reset my local version to a previous commit i made with my version control" - to figure out when the issue occurred, and compare old vs new to find a fix for that. - Anyhow, as i reset my local machine to a previous commit, i noticed my files got changed but in my localhost:xxxx/umbraco/ everything was exactly the same as before i changed my local machine.
e.g: My content was containing say 2 folders and 6 pages (don't get fooled when i say folders, it is simply a document type that does nothing but organizing my content page), after the changes my content was 1 folder and 4 pages. When i reset my local machine in gitkraken, my content was still 1 folder and 4 pages (it did not change at all)
What am i doing wrong, or is changes in /umbraco/ permanent even with version control?
Umbraco version control revert changes (github)
Hello forum,
Don't mind the title if it is inaccurate, i am not sure what the issue is called specifically but i will try to describe it as good as i can. This question will not have any illustrations until Monday, as the project is for work and i cannot access the db at home.
PS: if anyone is wondering why i ask this question now, as i cannot fix it until Monday anyway, is simply because i don't wanna show up at work on Monday without a fix (hopefully)
.
The issue
Earlier today i decided to make some dramatic changes to my navigation tree, changing some document templates (removing, changing and deleting), so my tree was better organized yet as functional as before.
It all seemed to work just fine, but as i wanted to test it out there was something that wasn't working correctly (big surprise), i could not fix this issue either but it is not related to this question i need help with (issue name 'iconator').
As this had nothing to do with my changes in document types i figured: "okay, lets just reset my local version to a previous commit i made with my version control" - to figure out when the issue occurred, and compare old vs new to find a fix for that. - Anyhow, as i reset my local machine to a previous commit, i noticed my files got changed but in my localhost:xxxx/umbraco/ everything was exactly the same as before i changed my local machine.
e.g: My content was containing say 2 folders and 6 pages (don't get fooled when i say folders, it is simply a document type that does nothing but organizing my content page), after the changes my content was 1 folder and 4 pages. When i reset my local machine in gitkraken, my content was still 1 folder and 4 pages (it did not change at all)
What am i doing wrong, or is changes in /umbraco/ permanent even with version control?
Anyone?
Could it be my gitignore that i have configured wrong?
Hi Lasse, As per my understanding, Contents are stored in database,. So rollback to previous commit will revert the file changes,not database changes.
To rollback content changes you can use rollback option for root node from umbraco back-office itself with "diff" option selected.
so, if you delete your root node, you are no longer able to roll back?
Deleted nodes can be found in recycle bin, from there you can rollback.
is working on a reply...