更改托管项目的文件夹路径位置

A365 A365
有以下两种潜在场景:A.当您想要将主服务器项目中央存储库上的一些更改拖拽到不同于先前的默认路径,作为本地工作中央存储库(如有任何本地更改将被忽略);B.在您将更改重新推送至服务器项目中央存储库之前,你想要更改已经产生一些变更修改的本地工作中央存储库的文件夹路径位置。

Solution Details

First, the project folder location set for the server master repository via web browser should not be confused with and does not influence the folder path of the corresponding local working repository.
Creating a Hierarchy of Project Folders

image.png

If you are creating a new project or pulling an existing project from the server for the first time, the default folder path location is C:\Users\Public\Documents\Altium, which can be modified in Preferences, Data Management » Design Repositories, Properties.   
Design Repositories


Or on the fly, you can also specify each time during project creation or pull a project from the server to a custom local path:   
Opening a Project Using the Open Project Dialog


If you have some local changes made already that you want to push back to the server and also to change the local folder path, go ahead and move the entire folder (containing .git and .gitignore) to the new location in the Windows file system.  Once the folder moved, in Altium Designer, File » Open Project, Browse.., navigate to the new location and double-click on *.PrjPCB, upon which you are prompted to use the path as a new location for your local repository for the project.
image.png

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.