git checkout master
git checkout -b part1
echo "some changes" >> part1.txt
git add -A
git commit -m 'part 1'
arc diff --reviewers '#project_athena'
git checkout part1
git checkout -b part2
echo "some other changes" >> part2.txt
git add -A
git commit -m 'part 2'
arc diff --reviewers '#project_athena' part1 # <-- This is how we tell Arcanist to use part1 as the base
git checkout part1
echo "additional changes" >> part1.txt
git add -A
git commit --amend -m 'part 1'
arc diff --reviewers '#project_athena'
git checkout part2
git rebase -i part1
remember to take out all commits that are not part of part2.
After rebasing, we can diff with
arc diff --reviewers '#project_athena' part1 # <-- We also specify the base when updating
Open ~/.bashrc
or ~/.zshrc
and add the following line
alias arcathena="arc diff --reviewers '#project_athena'"
Now we can reduce the amount of typings
arcathena
arcathena part1
Run the following command
export EDITOR="vim"