Forrest logo
back to the arc tool

arc:tldr:28e6b

arc: Push Git changes.
$ arc land
try on your machine

The arc land command is a feature of the Arcanist tool, which is a command-line interface for interacting with the Differential code review system in the Phabricator software development platform.

When you are ready to merge a code change, the arc land command facilitates the process of submitting your changes for review and then committing them to the repository. It performs several actions:

  1. It uses the arc diff command in the background to create a revision, which represents your code changes, and uploads it to the Differential code review system on Phabricator.

  2. It waits for the review to be accepted by a reviewer, and ensures that the changes are up to date with the latest changes in the repository before proceeding.

  3. Once the review is accepted, arc land automatically applies your changes to the target branch, creating a new commit. If there are any merge conflicts, it aborts the process and prompts you to resolve them.

  4. Finally, it informs Phabricator that the changes have been landed, closing the corresponding review.

Overall, the arc land command simplifies the process of submitting and integrating code changes in a controlled and collaborative manner, providing a smoother workflow for development teams.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the arc tool