ruby on rails - git reverse cherrypick -


my question is, there way mark specific commit(s) either won't merged branch, or ignored when issue "git push" or fetch repository?

my understanding can cherry-pick specific commits merge current branch; there way mark commit 'local' specific machine/repository/branch?


the problem question grew out of, solving different way. specifically, there specific version of sqlite3-ruby (1.2.5) require work on rails application on 1 osx machine don't have root access. right i've made commit specify version in gemfile on local branch called "mac-bundle", , plan switch branch , merge necessary changes before run bundle if need install ruby gem.

which minor live-withable annoyance. seems possible similar situation might arise same workaround won't quite acceptable, thought ask ideas on different solution.

(question similar one: committing machine specific configuration files , , current solution similar greg hewgill's answer.)

no, there not way mark commit "not included in merges". using separate branches pretty close gets.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -