You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running nd git add when adding (staging) files on a new branch will not work.
Expected Behavior
This subcommand should successfully stage a file by modifying the Git index.
Actual Behavior
nomad throws an error stating it is unable to stage files and does not modify the Git index.
Steps To Reproduce
git checkout a new branch.
Create a throwaway file and run nd git add <FILE_OR_DIRECTORY_IDENTIFIER>.
An error should be raised here stating nomad is unable to stage the file.
Traceback/Output
"Unable to stage files": Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }
Additional Context
According to the error that was returned, I may need to revisit how the Git refs are pulled from a repository.
The text was updated successfully, but these errors were encountered:
JosephLai241
added
bug
Something isn't working
beta
This issue or feature should be resolved or implemented before an official release
labels
Aug 24, 2022
JosephLai241
changed the title
Bug Report | git add command does not work on new Git branches
Bug Report | git add subcommand does not work on new Git branches
Aug 24, 2022
Describe The Bug
Running
nd git add
when adding (staging) files on a new branch will not work.Expected Behavior
This subcommand should successfully stage a file by modifying the Git index.
Actual Behavior
nomad
throws an error stating it is unable to stage files and does not modify the Git index.Steps To Reproduce
git checkout
a new branch.nd git add <FILE_OR_DIRECTORY_IDENTIFIER>
.nomad
is unable to stage the file.Traceback/Output
Additional Context
According to the error that was returned, I may need to revisit how the Git refs are pulled from a repository.
The text was updated successfully, but these errors were encountered: