Skip to content

Instantly share code, notes, and snippets.

@whhone
Last active October 4, 2022 16:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save whhone/9f88706a787eac61225afb4327970cb8 to your computer and use it in GitHub Desktop.
Save whhone/9f88706a787eac61225afb4327970cb8 to your computer and use it in GitHub Desktop.

set default host

arc set-config default <instance>

set default editor to vim

arc set-config editor "vim"

Create a new branch

arc feature new_branch

Update Diff. Automatically add all unstaged and uncommitted files to the commit.

arc diff -a

Update Diff. Opens in browser.

arc diff -a --browse

Commit the Diff.

arc land

Revert a previous commit.

arc blackout <git-revision>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment