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
I'm trying to add untracked files and commit them.
The problem is that after commit I can see files in the log but files state is rolled back to untracked and.
Before commit:
After commit:
Here's the gist with my working code https://gist.github.com/tomaszwojcik/6249891
I have debugged methods that provide files and data for the commit (author, parents, tree) - however I am unsure about Git::Manager#prepare_commit_tree.
I'm trying to add untracked files and commit them.
The problem is that after commit I can see files in the log but files state is rolled back to
untracked
and.Before commit:
After commit:
Here's the gist with my working code https://gist.github.com/tomaszwojcik/6249891
I have debugged methods that provide files and data for the commit (author, parents, tree) - however I am unsure about
Git::Manager#prepare_commit_tree
.And the code I'm running:
I have tried tree builder, with the same result.
Am I missing some save/update method?
The text was updated successfully, but these errors were encountered: