May we use git with a Drupal Site ?
Because I'm trying to use Git with a Drupal site and it seems that not all the information that are pushed !!!
Thank you
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityMay we use git with a Drupal Site ?
Because I'm trying to use Git with a Drupal site and it seems that not all the information that are pushed !!!
Thank you
Git is a source code management (SCM) system. There are many different source code management systems out there and Git fall into the category of a distributed version control system (DVCS). It takes a "peer-to-peer" approach to version control as opposed to a "Client-Server" approach like version control systems like Subversion (SVN).
Yes we can use GIT with drupal.
To setup a GIT repository in drupal project please visit below link.
Yes. It is typical practice to manage Drupal with a VCS, with Git being the defacto option; Drupal core, as well as all projects on drupal.org, uses Git as its VCS.
Drupal includes some default git configurations. D7 has a default .gitignore config. D8 has an example.gitignore config which isn't applied by default. There is also a default .gitattributes for white space settings.
You'll have to troubleshoot what is/is not include in your codebase. Typically, the gitignore settings exclude content & settings data from the code repo.