Reset Your AppBuilder Repository

Filter by IDE
Select the Progress AppBuilder client you are currently using for development.

IDE

This article is applicable to the in-browser client, the universal desktop client and the classic Windows desktop client. For information about version control in the extension for Visual Studio, see Use version control in Visual Studio.

When you cannot perform one or more version control operations, you can attempt to reset the local AppBuilder repository to resolve the problem.

When you reset the local AppBuilder repository, you discard all commits in the version control history after the selected commit. Depending on the selected reset operation, you can discard changes and reset the state of the repository.

Resetting the local AppBuilder repository does not affect the history or the state of the remote Git repository, if you are using third-party version control.

When resetting the local AppBuilder repository, you can choose between a hard and a soft reset. Depending on the option that you select, you can preserve or discard local and historical changes.

Caution: You cannot undo resets.

If you are not using third-party version control, a hard reset carries the following risks.

  • You will lose all version control history after the selected commit.
  • You will lose all changes after the selected commit.
  • You will lose all pending changes in the solution.

If you are using third-party version control, a hard reset carries the following risks.

  • You cannot retrieve commits that are not pushed to the remote repository.
  • You cannot retrieve changes that are not pushed to the remote repository.
  • You will lose all pending changes in the solution.
  • Any commits made between resetting and restoring the private repository might cause conflicts.

If you are not using third-party version control, a soft reset carries the following risks.

  • You will lose all version control history after the selected commit.

If you are using third-party version control, a soft reset carries the following risks.

  • You cannot retrieve commits that are not pushed to the remote repository.
  • Any commits made between resetting and restoring the private repository might cause conflicts.

Comparison Between Hard and Soft Reset

Hard reset Soft reset
Deletes all commits after the selected commit from your version control history. Deletes all commits after the selected commit from your version control history.
Resets the state of the repository. Preserves the state of the repository.
Rollbacks your solution to the selected version. Preserves the state of your solution.
Discards pending changes in the solution. Preserves pending changes in the solution.
Discards changes committed after the selected commit. Preserves changes committed after the selected commit.
Does not queue historical changes for committing. Queues historical changes for committing.

Prerequisites

  • Verify that your preferred AppBuilder client is running and you are logged in.
  • Verify that you have opened the code for your app.

Procedure

In-Browser

  1. In the top menu bar, click Version ControlHistory.
  2. Select a commit in the list.
  3. Click Reset and select the type of reset operation that you want to perform.
  4. Click OK.

Universal

  1. In the top menu bar, click Version ControlHistory.
  2. Select a commit in the list.
  3. Click Reset and select the type of reset operation that you want to perform.
  4. Click OK.

Windows

  1. In the top menu bar, click Version ControlHistory.
  2. Select a commit in the list.
  3. Click Reset and select the type of reset operation that you want to perform.
  4. Click OK.

Visual Studio

For information about version control in the extension for Visual Studio, see Use version control in Visual Studio.

CLI

This operation is applicable to the classic Windows desktop client and the in-browser client. With the command-line interface, you can use your preferred version control provider and tools.

Next Steps

Restore your local AppBuilder repository.

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.