Sitecore "Get Sitecore Item" getting all the items and I want to checkin only the changes

121 Views Asked by At

Actually I have done some sitecore changes in local Sitecore (Which is connecting to DEV) environment whih is the DEV Sitecore DB connections.

Now, I want to synch this. But for the first time, I am doing the "Get Sitecore Items including its children" for everything in the content.

As a result of that, the GIT shows all downloaded items to project rather than only the changed items by me.

How do I omit all files and take only my changed files for the GIT checkin? As there are around 20,000 files in GIT, I need a smart way to do. Any suggestions?

1

There are 1 best solutions below

5
Russell On

Only sync the objects you are managing/changing.

Leave the system objects unsynchronised. Or if you do, have a different project for system objects (as you said there are a large number), and only update for upgrades etc.

This will not only simplify git so you only have objects you are managing, but you will also prevent having issues trying to upgrade sitecore in the future (and accidentally synchronizing old versions of sitecore items.