Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#2060 closed defect (fixed)

Incorrect URL for getting the source code with git

Reported by: markshep Owned by:
Milestone: Priority: normal
Component: Handbooks Keywords:


This is regarding an error in the contributor handbook.

I tried to follow the instructions on https://make.wordpress.org/core/handbook/contribute/git/ to get a copy of the WordPress source code, but it failed. When I ran git clone git://develop.git.wordpress.org wordpress I got the following output:

Cloning into 'wordpress'...
fatal: No path specified. See 'man git-pull' for valid url syntax

With a bit of guesswork I tried adding wordpress.git to the end of the URL and it worked! So please could the URL on that page be updated to git://develop.git.wordpress.org/wordpress.git?

Change History (3)

#1 @SergeyBiryukov
5 years ago

Hi @markshep, welcome to Meta Trac! Thanks for the report.

I think it's just missing a trailing slash. This works as expected for me:

git clone git://develop.git.wordpress.org/ wordpress

Added a trailing slash to the URL on the page.

#2 @markshep
5 years ago

Yes, that works for me too. Thanks!

#3 @SergeyBiryukov
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.