Skip to content
This repository was archived by the owner on Jun 18, 2021. It is now read-only.

Command Reference

karalabe edited this page Jun 14, 2012 · 6 revisions

This section contains an exhaustive list of all the commands currently supported by GitBox.

gitbox

The command ensures that git is available (offers to install it otherwise) and prepares a console for a git workflow.

The command is specifically designed for extensive use under Windows, where git and related bash utilities aren’t readily available in the base command prompt provided by the operating system.

gitbox list [group]

Lists all the git repositories tracked by GitBox. The optional group lists only a subgroup of the maintained repos.

$ gitbox list
List of repositories tracked by GitBox:
 + patches
   - canvas
   - nitrogen
 - myapp
 - gitbox

$ gitbox list patches
List of repositories tracked by GitBox:
 - canvas
 - nitrogen

gitbox create repo

Creates a new empty git repository called repo inside the GitBox repository collection.

This command is to be used when a new repository/project is needed and there aren’t any existing repositories which can be imported into GitBox.

$ gitbox create myapp
Creating empty repository...
Initializing new repository...
Repository successfully created.

gitbox clone repo

Clones a git repository called repo from the GitBox collection into the current folder and configures a default remote called gitbox for committing code back into GitBox through git.

$ gitbox clone myapp
Cloning repository...
Repository successfully cloned.

gitbox import repo

Imports an existing git repository into GitBox and also configures a remote called gitbox for the local repo. Note, this command is meant to be executed from within a git repository, which is to be imported.

$ gitbox import myapp
Creating empty repository...
Importing data into new repository...
Repository successfully imported.

Clone this wiki locally