https://github.com/dkm/git-arcdiff
Dumb wrapper for arc's diff command
https://github.com/dkm/git-arcdiff
git phabricator
Last synced: over 1 year ago
JSON representation
Dumb wrapper for arc's diff command
- Host: GitHub
- URL: https://github.com/dkm/git-arcdiff
- Owner: dkm
- Archived: true
- Created: 2019-05-04T07:43:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T15:19:19.000Z (almost 5 years ago)
- Last Synced: 2025-02-08T05:17:10.630Z (over 1 year ago)
- Topics: git, phabricator
- Language: Shell
- Size: 24.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING3
Awesome Lists containing this project
README
git arcdiff
-----------
This is a simple wrapper for the [arc](https://secure.phabricator.com/book/phabricator/article/arcanist_diff/) command provided by [phabricator](https://phacility.com/phabricator/).
```
usage: git arcdiff [--dryrun] [--skip-staging] [--no-lint] [--verbose] [--arc ] [--depends-on ] [--no-add-diffid] [--no-create-branch] [--update [--verbatim]] []
or: git arcdiff [--dryrun] [--skip-staging] [--no-lint] [--verbose] [--arc ] --continue
or: git arcdiff [--dryrun] [--skip-staging] [--no-lint] [--verbose] [--arc ] [--no-force-request-review] [--no-add-diffid] --update-current
or: git arcdiff [--dryrun] [--skip-staging] [--no-lint] [--verbose] [--arc ] [--no-force-request-review]
or: git arcdiff [--dryrun] [--skip-staging] [--verbose] [--arc ] --add-diffid-in-head
or: git arcdiff [--dryrun] [--verbose] --abort
Available options are
-v, --verbose display some garbage
--no-lint do not apply linter
--verbatim update all field in the differential form
--skip-staging use the skip-staging option
--no-create-branch do not create a branch for the new code review
--depends-on ... add dependency on given existing code review
--continue continue after fixing a failed rebase
--dryrun only pretends to do something
--update-current update the existing code review bound to current checked out branch
--update ... same behavior as for creating a new review, but updates an existing review
--no-force-request-review
when updating, do not force the review state.
--abort rolls back to state before previous arcdiff command
--arc ... path to the arc command
--no-add-diffid when updating/creating a review, do not modify the original commit message to add reference to code review
--add-diffid-in-head ...
add a reference to differential revision in commit message of HEAD
```
Quickstart
----------
# Single review for last commit
## Create new review
```
$ git arcdiff origin/master HEAD^ HEAD
```
## Update existing review
```
$ git arcdiff --update D1234 origin/master HEAD^ HEAD
```
# Several commit review
## Create new review for commit A to B
```
o---o---o---o---o master (HEAD)
A B
$ git arcdiff origin/master A^ B
```
## Update existing review with extra commits (from A to C)
```
o---o---o---o---o--o---o master (HEAD)
A B C
$ git arcdiff --update D1234 origin/master A^ C
```