This page describes how to connect to the IGC UI repo for the first time and clone it.
Edit me
To connect to the Repo for the First Time and Clone It
- Right-click the empty folder you created and select GitBash Here.
- Run the git command
git clone git/@github.com:BackOfficeAssoc/igc-ui.git
Note: You will be asked to enter the passphrase you entered for your SSH key.Note: This step will clone the UI repo into your local machine. - Open the git config file in your local directory/folder (
igc-ui/.git/config
) using Visual Studio.Note: If your .git folder is not appearing, it is probably hidden. To reveal the .git folder, click View in the top nav menu in Windows File Explorer and check the Hidden items checkbox in the Show/hide section of the ribbon. - Run the command
cd igc-ui
. - Run the git command
git remote add upstream git\@github.com:BackOfficeAssoc/igc-ui.git
. - In the .git config file, find the section headed:
remote "origin"
then add the following line in that section:fetch = +refs/pull/\*/head:refs/remotes/origin/pr/
- In the .git config file, find the section headed:
remote "upstream"
then add the following line in that section:fetch = +refs/pull/*/head:refs/remotes/upstream/pr/*Add Remotes
- To access a specific developer’s branch, run the git command
git remote add https://github.com/<user>/repo.git