[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GIT version


Am 08.02.25 um 00:14 schrieb Benoît Minisini:
Le 07/02/2025 à 23:45, Christof Thalhofer a écrit :
Am 07.02.25 um 14:05 schrieb Benoît Minisini:

Why do you need to not put a new file in the staging area automatically?

I explained that 2018 and also sent this link this morning:
https://lists.gambas-basic.org/pipermail/user/2018-February/062910.html

OK, so it's mainly a matter of being able to choose which files to put
into a commit?

I would say yes. But not only files but "hunks" (which are parts of files). I think you designed the Git interface of the Gambas IDE in 2018 with SVN in mind which in contrast to Git has no staging area:

https://git-scm.com/about/staging-area
https://www.geeksforgeeks.org/staging-in-git/

As long as the IDE adds any stuff to the staging area by itself (which it does now) it is unusable for me.

Please play around with 'tig' on the commandline and a Git repo to see how an easy Git interface can be that shows the three essential concepts of Git, the so called 'working tree', the 'staging area' and the 'local repo'.

https://www.youtube.com/watch?v=z0mb0NteYjg

Alles Gute

Christof Thalhofer

--
Dies ist keine Signatur


References:
GIT versionPhilippe Valarcher <philippe.valarcher@xxxxxxx>
Re: GIT versionBruce Steers <bsteers4@xxxxxxxxx>
Re: GIT versionPhilippe Valarcher <philippe.valarcher@xxxxxxx>
Re: GIT versiongbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: GIT versionPhilippe Valarcher <philippe.valarcher@xxxxxxx>
Re: GIT versionBruce Steers <bsteers4@xxxxxxxxx>
Re: GIT versionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: GIT versionChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: GIT versionChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: GIT versionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: GIT versionChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: GIT versionBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>