Added a comment

This commit is contained in:
Caleb Owens 2024-07-25 15:14:37 +02:00
parent c1c5d88303
commit 6f4fc20f36

View File

@ -276,6 +276,12 @@ You can find them in the 'Branches' sidebar in order to resolve conflicts.`;
}
}
/**
*
* @param branch The branch you want to create a virtual branch for. If you
* have a local branch, this should be the branch.
* @param remote Optionally sets another branch as the upstream.
*/
async createvBranchFromBranch(branch: string, remote: string | undefined = undefined) {
try {
await invoke<string>('create_virtual_branch_from_branch', {