Does git return specific return error codes? - Stack Overflow
I set-up a test to fail. This is what I got:
$ git merge newbranch Auto-merging test.txt CONFLICT (content): Merge conflict in test.txt Automatic merge failed; fix conflicts and then commit the result. $ echo $? 1 Git returns 0 when it merges correctly, as expected.
Read full article from Does git return specific return error codes? - Stack Overflow
No comments:
Post a Comment