I might not have explained my question well so let me give an example.
I am on windows10
and I am using Bitbucket
for version control and backup.
My IDE, Intellij
has a workspace.xml
file which contains some configurations to run a build. Its path is say baseDir/something/something/.idea/workspace.xml
. I want to back it/version control it so that when I move to a new work station, I can override the default workspace.xml
with this one and have all my configurations.
Is it possible that I back up the workspace.xml
file at a path other than baseDir/something/something/.idea/workspace.xml
in Bitbucket eg. baseDir/IDESettings/idea/workspace.xml
?
If I change baseDir/something/something/.idea/workspace.xml
on my local machine (say add or change a new build configuration), a new version should get created in baseDir/IDESettings/idea/workspace.xml
and I move to a new machine and install the IntelliJ IDE then the workspace.xml
from baseDir/IDESettings/idea/workspace.xml
should be used.
I am guessing that I might have to use symbolic links but I would appreciate if someone could confirm this or suggest an alternative.