Skip to content

Instantly share code, notes, and snippets.

@sekimura
Last active December 10, 2021 16:56
Show Gist options
  • Save sekimura/6367366 to your computer and use it in GitHub Desktop.
Save sekimura/6367366 to your computer and use it in GitHub Desktop.

Revisions

  1. 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!
  2. 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!


  3. 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
  4. 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'
  5. 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
  6. 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
  7. 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!


  8. sekimura renamed this gist Aug 28, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. 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!