Delete a Project and Clone Again
This training will walk you through how to delete an existing project and clone the project again. This process should be followed when you wish to clone a fresh baseline clone of a program project. Please note that you will lose any updated files you have created but not yet pushed.
Prerequisites
-
GitLab Registration Completed
-
IntelliJ IDEA Installed and linked to GitLab Account
-
Cloned Project in IntelliJ IDEA
Steps
-
From the IntelliJ IDEA Project Screen project click on the main menu (The icon with 4 horizontal lines)
-
Select the File Menu & Select the Close Project option
-
This will close the project and revert you to the main IntelliJ Idea screen
-
On the main IntelliJ IDEA screen you will see a listing of all projects you have cloned.
-
You can hover over the project to see the navigation path on your computer to the local stored files.
-
Right-click on the icon with the 3 dots to open the context menu and select show in explorer to open a File Explorer window at that location.
-
Navigate to the File Explorer window & delete the entire folder using the delete key or by clicking on the trash can icon.
-
Navigate back to IntelliJ IDEA and the project will now be greyed out. If you hover the mouse over the project it will show 'Unavailable'
-
Click on the X icon to remove it from your listing. This will generate a prompt to remove from recent projects. Click on Remove.
-
From the IntelliJ IDEA home screen select Get from VCS. First project.
If you already have existing projects you will have listing of those and click on the 'Get from VCS' button.
-
Enter the PAMMS source URL that corresponds to your program in the URL field (include https:// prefix). The Directory field specifies the location in which the PAMMS source repo will be downloaded to. Can be left as is or changed if you would like to download the repo somewhere else.
-
Office of Refugee Services(ORS):
gitlab.com/gadhs/pamms-sources/ors
-
Division of Child Support Services(DCSS):
gitlab.com/gadhs/pamms-sources/dcss
-
Office of Facilities and Support Services(OFSS):
gitlab.com/gadhs/pamms-sources/ofss
-
Office of Information Technology(OIT):
gitlab.com/gadhs/pamms-sources/oit
-
Office of Financial Services(OFS):
gitlab.com/gadhs/pamms-sources/ofs
-
Office of General Counsel(OGC): TBD
-
Office of Inspector General(OIG): TBD
-
Division of Aging Services(DAS): TBD
-
Office of Human Resources(OHR):
gitlab.com/gadhs/pamms-sources/ohr
-
Division of Family and Children Services(DFCS):
gitlab.com/gadhs/pamms-sources/dfcs-common
-
Office of Budget Administration(OBA): TBD
-
Office of Procurement Services(OPS): TBD
-
Here you may be Prompted to Install git. If so, click install git and restart IntelliJ and follow the above steps again to get to this point. Click Clone. IntelliJ will begin to fetch the repository from GitLab on to your computer.
-
A dialog box will pop up asking if the Project is trusted. Click Trust Project.
-
A new window will open with the project open. This is the view from which you will edit files in your repository.