SourceTree 504 Gateway Timeout

Sourcetree is needed to manage git branches in recent projects, but when the default settings are used to pull branches, it will always report 504 gateway Timeout. According to some information on the Internet, set the depth in the advanced option to 1, so that the branch can be pulled normally, but it is still impossible to see all the remote branches in orign.

The solution is as follows: 1. Click “Command Line Mode” in sourcetree.< /p>

2. Enter the following respectively Command:

cd E:/git —— (Storage directory)

< span style="font-size:18px"> git clone https://git.XXXXXX/YourProject.git

Required for the first link Enter the username and password.

3. Click Clone/New, button to select “Create new warehouse”, select warehouse The path is used as the target path.

4. Created successfully After that, you can see all the remote branches from orign.

Leave a Comment

Your email address will not be published.