Friday, February 10, 2012

How to create a git repository

To create a git repository, create a folder of the project name, like 'test'.
mkdir test
Then go into the folder with:
cd test
And run the below command
git --bare init
Now, go to your local machine, and run the below commands:
mkdir project
cd project
git init
And create your project files here.
git add .
git commit -am 'message'
git remote add origin ssh:user@ipaddress:/path_to_project
git push origin master
Then you can make a clone of your repository on your server machine now:
git clone user@ipaddress:/path_to_project

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

4 comments:

arif said...

Great…Its Working…Really Good… its very useful for topic.Keep writing some more interesting topics like a Joomla Developer

arif said...

Thank you for posting this blog. I really enjoyed it, and subscribed to my email list. I will also send it to my friend and publish on my

facebook wall Joomla Developer .

website development said...

This is really a great overview with excellent explanation on website development.

CAD Design said...

Great…Its Working…Really Good… its very usefulexplanation on website development Very interesting read