Top End Web Design
  • Home
  • About us
  • What we do
  • Portfolio
  • Search
  • Menu Menu

Git with CPanel

Setting up GitTM Version Control on CPanel hosting

Once you are logged in to the CPanel, navigate to Files > Git Version Control and name your Git repo

For an existing project …

Step 1: Navigate to your local repository’s directory:

cd /path/to/your/repo
Step 2: Configure your local repository to push to the cPanel-hosted repository:
git remote add origin ssh://user@domain.com
/home/project/app
git push -u origin master

To start a new project …

Step 1: Clone the cPanel-hosted repository to your local computer and navigate to its directory:

git clone ssh://user@domain.com/home/project/app
cd git-test

Step 2: Create a README file:

echo "# README" >> README.md

Step 3: Commit the README file to the project:

git add README.md
git commit -m "Initial Commit"


git push -u origin master

Latest Blog post

  • Drupal StarshotDrupal StarshotJuly 30, 2024 - 5:58 am

    Drupal Starshot is an initiative by the Drupal community aiming at a “user-friendly” platform opposite to what is known today, a developer-dependant platform.

  • Bunbury south west web design wordpress drupal joomla content management systemWhat website platform is good for my company?February 27, 2022 - 7:25 am

    With hundreds of option for choosing a website platform, which one is the best suit for your business?

  • Web development broomeDo I need a website for my small business?February 27, 2022 - 6:18 am

    Either for a well established or newly started business, that question is always come into mind of business owners.

Topics

back end (1) blog (1) CMS (1) cpanel (1) Darwin website design (1) domain registration (1) FAQ (1) git (1) hosting services (2) Joomla! (6) Location (1) Marketing (1) New website (7) Portfolio (14) Redesign (5) Small Business (1) web design Darwin (1) Website (11) Wordpress (9)

Contact

☎️ 0400 690 976
📍 Bunbury, Western Australia
ABN: 97 932 674 426

      

Request for a quote

Top End Web acknowledges Traditional Owners of Country throughout Australia and recognises the continuing connection to lands, waters and communities. We pay our respects to Aboriginal and Torres Strait Islander cultures and Elders past and present. 

Privacy | Website by Irawan

Bunbury south west web design wordpress drupal joomla content management system Bunbury website design
Scroll to top