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
it will raise an error when 'hello.txt' no longer exists. If I go to the terminal and perform:
git show '4aeba658ca4bb8dba3d7204b2931c7cb03d5be36' hello.txt
I get the same error but if I put two dashes, it works
git show '4aeba658ca4bb8dba3d7204b2931c7cb03d5be36' -- hello.txt
Notice: this happens when hello.txt was commited before and it is part of the history but if it does not exist in the working directory the error will be thrown unless we put two dashes before the filename
The text was updated successfully, but these errors were encountered:
Hey if I perform:
repo.git.show('4aeba658ca4bb8dba3d7204b2931c7cb03d5be36', 'hello.txt')
it will raise an error when 'hello.txt' no longer exists. If I go to the terminal and perform:
git show '4aeba658ca4bb8dba3d7204b2931c7cb03d5be36' hello.txt
I get the same error but if I put two dashes, it works
git show '4aeba658ca4bb8dba3d7204b2931c7cb03d5be36' -- hello.txt
Notice: this happens when
hello.txt
was commited before and it is part of the history but if it does not exist in the working directory the error will be thrown unless we put two dashes before the filenameThe text was updated successfully, but these errors were encountered: