Skip to content

Instantly share code, notes, and snippets.

@tankxu
Created February 24, 2021 07:13
Show Gist options
  • Save tankxu/a280a54de343ad54a10c995bccdfecb7 to your computer and use it in GitHub Desktop.
Save tankxu/a280a54de343ad54a10c995bccdfecb7 to your computer and use it in GitHub Desktop.
//Open the branch by abstract app
let branchUrl = `abstract://app/share?branchId=${branchId}&commitSha=${commitSha}&kind=branch&projectId=${projectId}&sha=${projectSha}`
//Open the file by asbtract app
let fileUrl = `abstract://app/share?branchId=${branchId}&commitSha=${commitSha}&fileId=${fileId}&kind=file&open=true&projectId=${projectId}&sha=${projectSha}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment