mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
Added a comment
This commit is contained in:
parent
c1c5d88303
commit
6f4fc20f36
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user