Git Command Equivalents in RAD Studio

From RAD Studio
Jump to: navigation, search

Go Up to Git Integration in the IDE

The following table lists the major Git commands that are now implemented, including a short description of the implementation inside RAD Studio.

Git Command Equivalent RAD Studio Command

git clone
(download a copy of the repository)

File > Open from Version Control > Git
How To: Cloning a Copy of a Repository.

git init
(initialize the local repository)

Project Manager | right-click a project | Add to Version Control > Git
How To: Adding a Project to Version Control.

git remote add
(manage a set of remote repositories)

Project Manager | right-click a project | Add to Version Control > Git
How To: Adding a Project to Version Control.

git add
(add a file to the local repository)

Project Manager | right-click a file | Git > Commit | select Show unversioned files | select new files.
How To: Adding a File to Version Control.

git commit
(send changes to the local repository)

Project Manager | right-click a file | Git > Commit.
How To: Commit Changes to Version Control.

git pull
(updating the local repository)

Project Manager | right-click a project | Git > Pull.
How To: Update the local copy of your repository.

git push
(sending your local changes to the remote repository)

Project Manager | right-click a project | Git > Push.
How To: Push your local changes to the remote repository.

git clean
(cleaning your local repository)

Project Manager | right-click a project | Git > Clean.
How To: Cleaning your working repository.

git checkout
(discard changes in working directory)

Project Manager | right-click a file | Git > Revert.
How To: Reverting changes in a working directory.

git log
(display commit history)

Do either of the following:

How To:

git diff
(compare versions)

History tab | click the Differences tab.
How To: Diff (Compare) Versions of a File.

git annotate
(blame)

History tab | click Annotate2.png (Annotate).
How To: Use the Annotation Feature.

See Also