Max length of git branch name

The ‘File name too long’ is indeed an error coming from your system. It is not a restriction in Git. I don’t think there’s a way of testing the maximum branch name lengths of other systems, like GitHub’s, without experimenting – although I don’t see why you would want to know…

.

Source: the error mentioned is thrown on line 291 of branch.c. “File name too long” is the standard description for the ENAMETOOLONG error.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)