Skip to content

Commit

Permalink
Add remote first
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Kargatzis <dkargatzis@gmail.com>
  • Loading branch information
dkargatzis committed Apr 22, 2024
1 parent 65c46bc commit 3bbfa77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export class GitClient {
// Apply the patch
// await this.git.applyPatch(patchFilePath)
// await this.git.applyPatch(patchFile)
exec(
`git remote add origin https://github.com/warestack/war_tech_entity_recognition.git`
)
exec('git fetch --all')
core.debug(await this.git.listRemote())
exec(`git checkout -b ${newBranchName}`)
Expand Down

0 comments on commit 3bbfa77

Please sign in to comment.