Skip to content

[Bug] Issue with fetching latest changes #9

@Utkar5hM

Description

@Utkar5hM
2023-11-06 19:28:48.306319 : Successfully copied the branch REDACTED_BRANCH_NAME to its directory
2023-11-06 19:28:48.306334 : Pulling latest changes from branch REDACTED_BRANCH_NAME
2023-11-06 19:29:00.709067 : Updating 000ff801b..000f1bc05
Fast-forward
 REDACTED.txt | 13 ++++++++-----
 REDACTED.txt |  6 +++++-
 2 files changed, 13 insertions(+), 6 deletions(-)
2023-11-06 19:29:00.779444 : Error while pulling latest changes from branch REDACTED_BRANCH_NAME
2023-11-06 19:29:00.779471 : error: pathspec 'REDACTED_BRANCH_NAME' did not match any file(s) known to git
2023-11-06 19:29:00.781276 : Logger Initiated
2023-11-06 19:29:00.781330 : Docker image REDACTED_IMAGE already provided.

New branch changes sometimes don't reflect as fetching latest changes fails for a reason which needs to identified.

Code that would need a change:

status, err = exec_commands(commands=[

Thought of solutions:

  • Fetch updated branch info from remote (git fetch) and do a git hard reset to it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions