Skip to content

Instantly share code, notes, and snippets.

@minhtran83
Forked from tony612/arcanist_cheatsheet.md
Created August 26, 2020 14:36
Show Gist options
  • Save minhtran83/ccddfcd198b21d899cfe803b7ce46ba0 to your computer and use it in GitHub Desktop.
Save minhtran83/ccddfcd198b21d899cfe803b7ce46ba0 to your computer and use it in GitHub Desktop.

Revisions

  1. @tony612 tony612 renamed this gist May 21, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @tony612 tony612 revised this gist May 21, 2014. No changes.
  3. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,8 @@
    * 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!
  4. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 9 additions and 9 deletions.
    18 changes: 9 additions & 9 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,20 @@
    * create tasks T{NNNN} asign them
    * create a branch with name like "T{NNNN}-boo-hoo"
    * git checkout -b T1234-boo-foo
    * `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'
    * `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
    * `arc lint`
    * push a review request to the server. This will create a diff with id D{NNNN}
    * arc diff
    * `arc diff`
    * As a reviewer, you can apply the changeset on your local by using `arc patch D{NNNN} `
    * arc patch D5678
    * `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
    * Once review request got accepted, merge changes to master. "arc land" command will take care of merging/rebasing branch and deleting your working branch
    * arc land
    * `arc diff --update 1234`
    * 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!


  5. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    * commit changes on that branch until it gets ready to be reviewed
    * git commit -am 'first'
    * git commit -am 'now it works'
    * check lint
    * 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
  6. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    * create tasks T{NNNN} asign them
    * create a branch with name like "T{NNNN}-boo-hoo"
    * git co -b T1234-boo-foo
    * 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'
  7. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -6,8 +6,10 @@
    * git commit -am 'now it works'
    * check lint
    * arc lint
    * push a review request to the server
    * 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
  8. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,8 @@
    * create a branch with name like "T{NNNN}-boo-hoo"
    * git co -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 lint
    * arc lint
    * push a review request to the server
  9. @sekimura sekimura revised this gist Aug 28, 2013. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,16 @@
    * create tasks T{NNNN} asign them
    * create a branch with name like "T{NNNN}-boo-hoo"
    ** git co -b T1234-boo-foo
    * git co -b T1234-boo-foo
    * commit changes on that branch until it gets ready to be reviewed
    * check lint
    ** arc lint
    * arc lint
    * push a review request to the server
    ** arc diff
    * arc diff
    * 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
    * arc diff --update 1234
    * Once review request got accepted, merge changes to master. "arc land" command will take care of merging/rebasing branch and deleting your working branch
    ** arc land
    * arc land
    * viola!


  10. @sekimura sekimura renamed this gist Aug 28, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  11. @sekimura sekimura created this gist Aug 28, 2013.
    16 changes: 16 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    * create tasks T{NNNN} asign them
    * create a branch with name like "T{NNNN}-boo-hoo"
    ** git co -b T1234-boo-foo
    * commit changes on that branch until it gets ready to be reviewed
    * check lint
    ** arc lint
    * push a review request to the server
    ** arc diff
    * 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
    * Once review request got accepted, merge changes to master. "arc land" command will take care of merging/rebasing branch and deleting your working branch
    ** arc land
    * viola!