Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone familiar with Git?
Message
De
06/03/2016 20:25:13
 
 
À
06/03/2016 20:20:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Git
Divers
Thread ID:
01632456
Message ID:
01632600
Vues:
67
Again.. don't store binaries that you generate during a build. It's an anti-pattern and there's no reason to do it.


>Thank you for the answers Lutz and Craig,0
>
>If the binaries are not stored they need to be regenerated when you check out a branch, but only if the associated text file changes during the checkout. Do you know a trick to automate this step? Perhaps git has a hook that makes this easy.
>
>Another approach is described in an article that explains how to make Git preserve specific files while merging. This way you can store VFP binary files and keep git from trying to merge them during a merge operation. It also avoids having to regenerate them. The article is https://medium.com/@porteneuve/how-to-make-git-preserve-specific-files-while-merging-18c92343826b#.25075jakz It requires you to indicate a process that does nothing and returns errorlevel 0. I found that a VFP exe works fine.
>
>Alex
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform