-
Notifications
You must be signed in to change notification settings - Fork 18
Command Reference
This section contains an exhaustive list of all the commands currently supported by 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.
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
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.
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.
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.