<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Pavol,<div class=""><br class=""></div><div class="">update-checkout, as far as I know, is only there to help you work with *all* the Swift repositories at the same time. This way you won’t have to separately go to every folder and invoke `git pull origin master`. The config file for update-checkout simply lists the ‘schemes’ which are the combinations of branches from different repos that are compatible with each other. For example, master branch in apple/swift repository supposed to be compiled with ‘stable’ branches of llvm and clang, which is not true for the ‘swift-3.0-branch’ branch, for example, it should be compiled with ‘swift-3.0-branch’ of llvm etc.</div><div class=""><br class=""></div><div class="">Long story short, it is possible to update the update-checkout and its config to simplify your workflow, but you don’t have to do so.</div><div class=""><br class=""></div><div class="">I personally use this script only before starting a new branch, to make sure that my changes go on top of current master and simplify merging them later.</div><div class=""><br class=""></div><div class="">cd swift</div><div class="">git checkout master</div><div class="">utils/update-checkout --scheme=master</div><div class="">git checkout -b my-new-branch</div><div class="">... some work gets done …</div><div class="">git add .</div><div class="">git commit -m “Adding an absolutely awesome new feature”</div><div class="">git push mine my-new-branch # please note that I prefer to call my personal fork ‘mine’ whereas usually people call their fork remotes ‘origin’ and the upstream ‘upstream’.</div><div class="">open <a href="https://github.com/apple/swift" class="">https://github.com/apple/swift</a></div><div class=""><br class=""></div><div class="">Within a few seconds at the top of the github page you will see something like this:</div><div class=""><img apple-inline="yes" id="0A6195CC-B5E7-42E1-A8F5-FA3AD884138D" src="cid:BCBB9C4A-E639-4F3F-A98D-EA0607C7879D@apple.com" class=""></div><div class="">Pressing this green button will initiate the creation of your Pull Request with the changes you’ve just pushed to your fork.</div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class="">Max</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 29, 2017, at 10:35 AM, Pavol Vaskovic <<a href="mailto:pali@pali.sk" class="">pali@pali.sk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class=""></div><div class="">Hi Max!</div><div class=""><br class="">On 28 Mar 2017, at 01:19, Max Moiseev <<a href="mailto:moiseev@apple.com" class="">moiseev@apple.com</a>> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div class="">This tutorial looks very detailed and should answer most of your questions: <a href="https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github" class="">https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github</a></div></blockquote><br class=""><div class="">Thank you for that link! <span style="background-color: rgba(255, 255, 255, 0);" class="">But I'd like to hear how does that general process integrate with the `update-checkout` script provided in the swift project. That's what is described in the Getting Started part of the Readme.md and I'd love to see more thorough description on the Contributing Code section. </span></div><div class=""><br class=""></div><div class="">I'm confused about where/how do I switch my local copy created by the <span style="background-color: rgba(255, 255, 255, 0);" class="">`update-checkout` script to use my own fork from </span><a href="https://github.com/palimondo/swift" class="">https://github.com/palimondo/swift</a></div><div class="">Will that script get confused when I manually mess with the directory structure it created? What is the <span style="background-color: rgba(255, 255, 255, 0);" class="">update-checkout-config.json for?</span></div><div class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><br class=""></span></div><div class="">Best regards</div><div class="">Pavol Vaskovic </div></div></div></blockquote></div><br class=""></div></body></html>