commit module using git


Please visit our new Drupal Website at https://www.xenyo.com我們的新網頁設計公司網頁.

ssh-keygen -t rsa -C "your key"
cat /root/.ssh/id_rsa  //check your key , copy and paste to your drupal account .
git clone --branch 7.x-1.x[your acc name]/[project id].git module_name  //git download your module
goto .git folder and edit config file
change "url = ......." to "url = [your acc name][your acc name]/[project id].git"
git config --global "[your acc name]"
git config --global [your acc e-mail]
git config -l
git add -A
git commit -m 'commit comment here.'
git push
Help Share this Article