Using GitHub as a version control tool for a hosted Drupal site

I would like to know how to use GitHub as a version control system for my hosted Drupal site. What steps should I take to push files from Drupal to GitHub? What files / directories are best to click on GitHub.

thank

+3
source share
1 answer

If you are not familiar with git yet , you will need to read this ...

Hosting on Github and then cloning into your hosting deployment directory, you just do ..

git clone git://github.com/your-github-account/your-github-repo.git

Deploy initially.

And then: (if there are changes to deploy)

git pull

.

( , git )

Github SVN

git, ( - ), Github Subversion.

svn co http://svn.github.com/your-github-account/your-github-repo.git .

... :

svn up

.

+2

Source: https://habr.com/ru/post/1763285/


All Articles