GIT

Robert C. Helling helling at atdotde.de
Thu Oct 22 00:19:48 PDT 2015


Guido,

> On 22 Oct 2015, at 00:35, Guido Lerch <guido.lerch at gmail.com> wrote:
> 
> At some point in time I would like someone to help me with GIT.
> I find this confusing which is probably confusing to you.
> 
> I work on a feature, figure out a bug, when trying to fix this I am
> getting my branches confused, ending up in wiping it all away,
> clone subsurface, building branches, reapplying patches etc.
> 
> It can't be that difficult ... I read the FM and this didn't help.
> 
> I have no GIT-brain ... and lost many hours of dev. time to this :-(

Wiping everything away and starting from scratch should be hardly ever necessary (I last did that when I updated my Qt version and that had deeply confused the compiler and make system. Everything else should be reversible. In particular you can unwind commits (with git reset which leaves the files what they are but undoes the commit statement or git revert which unapplies the changes) or move them to a different branch (git cherrypick or git rebase). I admit, these can be confusing (and they often are to me too) but in the end almost everything should be possible. Using a graphical front end to git (I use source tree https://www.sourcetreeapp.com) can be useful for getting an idea what is in which commit and how the different commits and branches relate to each other.

If you describe your problem in more concrete terms maybe you can be helped.

Best
Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151022/ad5918c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151022/ad5918c9/attachment.sig>


More information about the subsurface mailing list