commit module using git

WE HAVE MOVED!

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 http://git.drupal.org/sandbox/[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]@git.drupal.org:sandbox/[your acc name]/[project id].git"
git config --global user.name "[your acc name]"
git config --global user.email [your acc e-mail]
git config -l
git add -A
git commit -m 'commit comment here.'
git push
Help Share this Article