0

How can I execute a pip install from git if the branch I need starts with the # sign

I need to not separate it from the link text. Now it is perceived as a separate sign (from the link)

  • You mean, when doing something like `pip install git+https://github.com/foo/bar@branch`? – Chris Dec 14 '18 at 17:05

2 Answers2

0

URL-encode it, that is, replace with %23.

https://stackoverflow.com/a/39207995/7976758

phd
  • 69,888
  • 11
  • 97
  • 133
0

Solution to bypass this problem: git+http://gitlab.site.com/test@<hash>