[Gambas-user] IDE Git Magic ....

Christof Thalhofer chrisml at deganius.de
Fri Feb 9 00:34:32 CET 2018


Am 08.02.2018 um 22:51 schrieb Tobias Boege:
> On Thu, 08 Feb 2018, Christof Thalhofer wrote:
>> What I always miss is a very easy way to direct a small portion of
>> change to an explicit commit, while directing another change in the same
>> file nearby at the same time to another commit. It is possible in Git
>> and in tig but it is not really easy or intuitive. This could be a
>> killer feature.
>>
> 
> If I remember correctly, the IDE already has a widget for displaying
> diffs (for the Project > Patch dialogs). This allows you to (un)tick
> changes in a patch file at the hunk level. I think a `git diff` into
> that widget and using its output for an automatic walk through
> `git add --patch` will get you pretty far already. The only thing
> that's missing is a way to break selected hunks up further.

Ok ... I do not know the IDE really good, I have just recognized it as a
source for really good code examples, but in Git it goes like that:

"Staging Patches" in

https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180209/6806a081/attachment.sig>


More information about the User mailing list