function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dave CraigmileDave Craigmile 

Securing a Remote GIT Repository

I have created an empy remote GIT repository on Cloud Forge and am able to connect it to a VS Code project no problem using the GIT Initialize Repository command.

However the repo connection took place after I provided the URL but WITHOUT ASKING FOR A PASSWORD.  I was able to push all my files from VS Code to the remote repo without entering a password.

So, how do I secure my remote repo so a password is at least required the first time I push from VS Code?

I have the canonical installation of Salesforce DX as defined in the help documents.

Thanks!

 
Dave CraigmileDave Craigmile
Figured it out.