Skip to content

Instantly share code, notes, and snippets.

@tony612
Forked from sekimura/gist:6367366
Last active July 7, 2023 05:29
Show Gist options
  • Save tony612/f698465a5c74b3cd6d98 to your computer and use it in GitHub Desktop.
Save tony612/f698465a5c74b3cd6d98 to your computer and use it in GitHub Desktop.
arcanist cheatsheet
  • create tasks T{NNNN} asign them
  • create a branch with name like "T{NNNN}-boo-hoo"
  • git checkout -b T1234-boo-foo
  • commit changes on that branch until it gets ready to be reviewed
  • git commit -am 'first'
  • git commit -am 'now it works'
  • check if it's lint free (NOTE: it runs lint against only modified files)
  • arc lint
  • push a review request to the server. This will create a diff with id D{NNNN}
  • arc diff
  • As a reviewer, you can apply the changeset on your local by using arc patch D{NNNN}
  • arc patch D5678
  • if reviewers post a comment and you need to update the changeset, commit more changes on that branch
  • and push updated changeset to the server
  • arc diff --update 1234
  • To check status of review requests which you have posted, run arc list which will give you a list of Status, Diff ID and title
  • arc list
  • Once review request got accepted, merge changes to master. "arc land" command will take care of merging/rebasing branch and deleting your working branch... And pushing changes to origin/master.
  • arc land
  • viola!
@millerf
Copy link

millerf commented Oct 28, 2021

Minor spelling error; you mean "voila". "Viola" is a musical instrument; "voila" means "behold" in French. Otherwise, thanks for the good summary of the tool!

"Voilà". "Voila" means "he put a sheet of something on top of something else".... And "Viola" means "raped" in French...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment