-
-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
origin.pull(rebase=True) sometimes lost local commit , gitpyton version 3.1.31 #1863
Comments
Thanks for providing all this information to help making it possible to understand the issue. I most definitely still don't follow and would believe that I'd also expect |
thanks Byron for your comments Yes, it is really strange issue and the issue is randomly happened (not each time) thank you anyway! |
I had concurrent git pull/push in my deployment pipelines, sometimes git pull (rebase) only get remote commit and lost local commit (rebase seems happened)
below is the git actions in first pipeline (no issue happened)
below is the git actions in second pipeline which runs 1 second later than above pipeline (git pull seems lost local commit)
take below graph as example , we should get commit hash 4 after pull but we only get 2 (above a3324df), seems rebase action did not happened when pull?
do we have any way to check if git.pull success or raise exception when git.pull failed?
appreciated !!!
part of the code:
The text was updated successfully, but these errors were encountered: