Skip to main content
Jump to: navigation, search

Difference between revisions of "Orion/Documentation/User Guide/Reference/Repositories page"

(Actions on a repository)
Line 27: Line 27:
  
 
== Actions on a local branch ==
 
== Actions on a local branch ==
 +
 +
Once a new branch is created, it is in the <b>local</b> but not in the <b>remote</b> yet. Hover over the branch name row in the Branch table to pop up actions as below. You can manage the branch by these actions.
 +
 +
[[Image:Orion-repository-page-branch-actions-not-current.png]]
 +
 +
=== Deleting a local branch ===
 +
 +
From the actions when you hover over the branch, click on the first action to delete the branch. A confirmation dialog will pop up and you can decide if you want to delete it.
 +
 +
[[Image:Orion-repository-page-branch-actions-delete.png]]
 +
 +
=== Setting a local branch as current branch===
 +
 +
The newly created branch branch is not set as the current branch yet. Let's say you want to work on this branch now. From the actions when you hover over the branch, click on the last action to <b>checkout</b> the branch.
 +
 +
[[Image:Orion-repository-page-branch-actions-checkout.png]]
 +
 +
Once the branch is checked out, it is shown as bold. <b>Please note</b> that from now the [[Orion/Documentation/User Guide/Reference/Git Status page|Git Status page]] will show the content on this branch.
 +
 +
[[Image:Orion-repository-page-branch-actions-checkout-bold.png]]

Revision as of 12:37, 24 June 2011

Repositories page

The Repositories page allows you to view and manage the Git repositories associated with your Orion account. When you visit this page you will see a list of all Git repositories you currently have cloned. Expand a repository to view the local and remote branches available in your clone. The currently checked out local branch is shown in bold.

Orion-repository-page.png


Adding repositories

Create a new empty repository by clicking Init Repository on the tool bar, or click Clone Repository to clone an existing Git repository. Cloning will produce a dialog where you enter the Git repository URL, and optionally any credentials required to access or modify the repository.

Actions on a repository

You can delete an existing repository or navigate to the Navigator page. Hover over the repository name row in the repositories table to pop up actions as below.

Orion-repository-repo-actions.png

Clicking on the Delete action will pop up a confirmation dialog and you can decide if you want to delete it. Clicking on the Show in Navigator navigates to the Navigator page.

Adding branches

Once a repository is created or cloned, the master branch is set as the current branch. You can create your own branch, work on it and merge it back to master. Hover over the Branch row in the repository table to pop up the Add Branch action icon. Then hover over the action.

Orion-repository-page-add-branch.png

Clicking on the action and input the branch name. Hit enter key to create the branch.

Orion-repository-page-add-branch-name.png

Actions on a local branch

Once a new branch is created, it is in the local but not in the remote yet. Hover over the branch name row in the Branch table to pop up actions as below. You can manage the branch by these actions.

Orion-repository-page-branch-actions-not-current.png

Deleting a local branch

From the actions when you hover over the branch, click on the first action to delete the branch. A confirmation dialog will pop up and you can decide if you want to delete it.

Orion-repository-page-branch-actions-delete.png

Setting a local branch as current branch

The newly created branch branch is not set as the current branch yet. Let's say you want to work on this branch now. From the actions when you hover over the branch, click on the last action to checkout the branch.

Orion-repository-page-branch-actions-checkout.png

Once the branch is checked out, it is shown as bold. Please note that from now the Git Status page will show the content on this branch.

Orion-repository-page-branch-actions-checkout-bold.png

Back to the top