Rebuild remote git branch from Phabricator version
You can use arc patch
to create a branch. It will create a branch named arcpatch-D###
where D ### is your Diff id. Once you have this branch, you can use git commands to create a new branch based on the head of that branch and name it whatever you like.
Recommended steps: 1.2 arc patch D###
.git checkout -b new-branch-name
From there, you can do anything else that you like.
source to share
If you have access to the underlying git repo, you can simply use git reflog
: you will see the commit referenced by the remote branch.
See, for example, " How do I check in a remote branch in git? "
source to share