Back
I have a setup of a Linux VM instance in GCP.I have to configure git. How to do it? Does it present in the system?
If installed, how can I check?
Here GCP will only provide you with the virtual machine, you need to install the tools separately. But some of the libraries and tools come with the Boot disc.
But for git use the below commands, that will work for you.
which git //checks versionsudo apt-get updatesudo apt-get install gitsudo git init //for initializing
which git //checks version
sudo apt-get update
sudo apt-get install git
sudo git init //for initializing
For more information, refer to the below tutorial on Google Cloud Architect Certification.
31k questions
32.8k answers
501 comments
693 users