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 had pushed some changes to the toys repo from machine 1
I used git-pulls from machine 2
I observed that the tool seemed to pull updates for the toys repo the new text was not what I expected
I used git-pulls again from machine 2
The behavior was the same - the new text was idewntical
Did manually did git pull from my local toys repo on machine 2:
$ git pull
Updating 29b8e11..abcf86c
error: Your local changes to the following files would be overwritten by merge:
bin/pygrep
Please commit your changes or stash them before you merge.
Aborting
$ git diff
diff --git a/bin/pygrep b/bin/pygrep
index 0e4c795..67a1d94 100755
--- a/bin/pygrep
+++ b/bin/pygrep
@@ -1,4 +1,4 @@
-#! /usr/bin/env python2
+#! /usr/bin/env python3
import re
import sys
$
I realized I had already made the change to the script in the master branch so I reverted the change in the local repo.
git-pulls worked correctly
I think the tool needs to sense when the git pull fails.
The text was updated successfully, but these errors were encountered:
I noticed some behavior today with
git-pulls
:git-pulls
from machine 2git-pulls
again from machine 2git pull
from my local toys repo on machine 2:git-pulls
worked correctlyI think the tool needs to sense when the
git pull
fails.The text was updated successfully, but these errors were encountered: