Git is the version control system available for use with Acquia Cloud. Use the following information to help you use Git to manage your Acquia Cloud code repository.
Downloading a Git client
You will need a Git client installed on your local system in order to interact with the code repository using Git.
To download a Git client, use the method based on your operating system:
- Mac OS X
Use the command
sudo apt-get install git-coreto install Git using the command line.
Follow the installation options on the official Git website.
Basic Git commands
You can find some basic Git commands, customized for your Acquia Cloud application, in the Acquia Cloud interface:
- Sign into the Acquia Cloud interface and select your application.
- Click Application info:
The Application Information panel displays basic Git commands for your application that you can use to clone a repository, stage modified files, commit changes, and push local commits to a remote repository. You can click the Copy icon to copy a command to your clipboard and then paste it into an SSH session.
Finding help for Git
For more information about how to use Git, see the following online resources:
- Git basics, Acquia's article on the basics of using Git.
- Resources for learning Git, an Acquia Knowledge Base article with a list of valuable tutorials and references.
- How to apply and test a patch from drupal.org using Git on Acquia Cloud.