vinekeron.blogg.se

Sourcetree wiki
Sourcetree wiki










sourcetree wiki

Difficulties syncing the source tree (TCP issues) If they do and you can't connect, you have to resolve the hostnames again and edit /etc/hosts accordingly. nslookup nslookup You can then hard-code them locally by editing /etc/hosts, and adding two lines in that file, in this form: Note: This only works if the servers' addresses don't change. You can resolve them with the nslookup command, which provides one numerical IP address for each hostname (typically in the "Address" part of the output). Ĭause: Some DNS systems have a hard time coping with the high number of queries involved in syncing the source tree (there can be several hundred requests in a worst-case scenario).įix: Manually resolve the relevant hostnames, and hard-code those results locally. Symptom: When running repo sync, the process fails with various errors related to not recognizing the hostname. Sometimes a you want to test changes in a PR yourself, for example when reviewing. Click 'Ok' in the screen that pops up: Now you are ready to use Sourcetree for normal issues. Difficulties syncing the source tree (DNS issues) lets make sure sourcetree knows all branches on the up upstream repo and click-fat 'Fetch' button on the top left. Symptom: repo init or repo sync fails with HTTP errors, typically 403 or 500.Ĭause: There are a few possible causes, most often related to HTTP proxies, which have a hard time handling the large amounts of data getting transferred.įix: While there's no general solution, using Python 2.7 and explicitly using repo sync -j1 can sometimes help.

SOURCETREE WIKI CODE

Difficulties syncing the source code (proxy issues) In SourceTree, press the 'Branch' button to bring up a little dialog box. But now, instead of committing this change directly to our master branch, let's make a new branch, and let's call it apple-branch. This page details some known issues you may encounter while trying to sync the source code. In SourceTree, drag a file from the 'working tree' pane to the 'files staged in index' pane to stage the file.












Sourcetree wiki