|
From: Michael S. <ma...@gm...> - 2014-05-21 15:38:05
|
git rebase --interactive is probably what you want once you've committed the project file changes, as mentioned in the Stack Overflow post. I'd imagine most of the time you could get away with just not committing the project files at all, unless you're adding files to the project, in which case you can just commit those specific lines. If anybody is interested in learning more about git's commit and branching model, and the commands git provides, I recommend the following interactive tutorial: http://pcottle.github.io/learnGitBranching/?demo On Wed, May 21, 2014 at 6:01 AM, Piter Dias <pit...@pi...>wrote: > It is a very interesting question. > > I don't have a general answer but at least for boost, Python and doxygen, > you can use the Microsoft.Cpp.Win32.user property page to avoid touching > the QuantLib files. > > It may not be pratical, however, if you use different versions of boost, > for example, for different projects (I had this at work). > > I have the same problem in other project and some of my contributions were > not accepted although the final code was exactly what it was supposed to be. > > > _____________________ > Piter Dias > pit...@pi... > www.piterdias.com > > > > ------------------------------ > From: ig...@gm... > Date: Wed, 21 May 2014 14:24:58 +0200 > To: qua...@li... > Subject: [Quantlib-dev] Some off-topic help on git > > > Hi, > > Excuse me for going a bit off-topic. I'd like to contribute some changes, > but being new to git, I'm unsure how to progress. > > I've forked the quantlib repo, and cloned it. I've created a new branch to > work on. Everything is still clean. Now, I first have to modify my .vcxproj > files to point to my own boost installation. Obviously these are changes > that I don't want to include in the pull request later. After adding boost > and checking that it compiles correctly, I do a commit. > > Now I'm ready to start with the actual work. Let's assume I've finished > that and do another commit. > > How do I proceed now? I want to create a pull request, but I don't know > how to exclude the original, irrelevant commits. Is this easily possible? > Should I use git rebase or have used multiple branches? I also posed this > question on > http://stackoverflow.com/questions/23781928/git-ignore-first-few-changes > > Once I figure this out, I want to apply a similar technique to pull in the > outstanding commits from Peter's changes (to let the QuantlibAddin build > successfully) and then do some work to expose more functions for the AddIn. > Yet again, I'll have to create a pull request, but I want to exclude > Peter's changes, because those are already in a pull request. > > Sorry for the newbie questions, but I hope you'll appreciate the > contributions that I can make. > > regards > Francois Botha > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > |