Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Section


Column
width22%


Excerpt

Guide to Git

Git Terms

Git Commands

Deployment

Set Up Deployment

Deployment Cron Jobs

Host Repositories on the Command Line

Access Private Repositories

For System Administrators



Column

Overview

Git™ is a system that tracks changes to files and directories (a version control system). Whenever content changes, Git records it and stores the history of every change. Git uses repositories, a type of data structure, to manage files. Repositories exist within a specific directory and contain a record of changes in addition to the files themselves. Branches separate multiple sets of changes within a repository.

Usually, software developers use Git to manage code, but anyone can use Git to manage any type of file.

  • Because of Git's flexibility, you can use it for either simple or complex projects. Multiple branches and repositories allow you to configure Git-managed content for your needs.
  • For large projects, Git allows teams to collaborate on changes before they make them available to other teams.
  • Git includes features that allow you to view information about your revisions, find an issue's cause, or manipulate changes.
Note
titleNotes:
  • If you currently use FTP or Web Disk to manage your files, we encourage you to consider Git management for those files instead.
  • We introduced cPanel's Git™ Version Control interface (cPanel >> Home >> Files >> Git™ Version Control) in cPanel & WHM version 72.
  • In cPanel & WHM version 70 and earlier, users with SSH access can use Git via the command line. You can use cPanel's Terminal interface (cPanel >> Home >> Advanced >> Terminal) to access the command line from within the cPanel interface.




Additional documentation

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "versioncontrol" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "versioncontrol" and label = "cpanel"


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "versioncontrol" and label = "whm"


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "versioncontrol" and space = "DD"