<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/etkaar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/etkaar">@etkaar</a> since this is already a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="671833449" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2565" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2565/hovercard" href="https://github.com/geany/geany/issues/2565">#2565</a>, why not just force push to the branch of this PR? This topic already has a number of duplicate issues and PRs, no need to make more, IMO.</p>
<p>You can still keep this current work in a branch on your Github fork, Git lets you branch off of branches and/or rename branches. Something like:</p>
<div class="highlight highlight-source-shell"><pre><span class="pl-c"><span class="pl-c">#</span> backup the current version</span>
$ git branch -m always_set_from_selected always_set_from_selected_pref
<span class="pl-c"><span class="pl-c">#</span> make a new branch off of master with the same name as this PR branch</span>
$ git checkout -b always_set_from_selected master
<span class="pl-c"><span class="pl-c">#</span> use my patch (or edit the files manually)</span>
$ git apply <span class="pl-k"><</span>file_containing_my_patch_above<span class="pl-k">></span>
<span class="pl-c"><span class="pl-c">#</span> ...do other changes, commits, etc.</span>
<span class="pl-c"><span class="pl-c">#</span> force push to this branch to update this PR</span>
$ git push <span class="pl-k"><</span>your remote/fork name<span class="pl-k">></span> +always_set_from_selected
<span class="pl-c"><span class="pl-c">#</span> if you want the backed up version on Github too</span>
$ git push <span class="pl-k"><</span>your remote/fork name<span class="pl-k">></span> always_set_from_selected_pref</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2697#issuecomment-751641301">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7GTECEYJKRPR4SXO3SXBDAZANCNFSM4VD57AXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6NYWWQUV3USBJ3JV3SXBDAZA5CNFSM4VD57AXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTGSFVI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2697#issuecomment-751641301",
"url": "https://github.com/geany/geany/pull/2697#issuecomment-751641301",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>