git - How to make pre-receive hook ignore commits already submitted -


Text after "itemprop =" text ">

I commit to the message of checking if it is a valid JIRA issue on the beginning, to obtain a pre-approved The hook is there.

But I have some old commitments that are not fit in my pattern (they were created long ago)

Example:

  A - B - C - D - E - F ^ ^ | | | | _ Basic / Master   

A: This is where my basic / master numeral

A, B, C and D: he commits, in which a valid Committed message (and they should not, they are really old)

E and F: They're okay with valid messages.

When I try to run:

  Git Push Original HEAD: Master   

This is just a fast forward Committed remote stores are already on)

I would like to find out my pre-received script 'likes to make it, and commit to the validated message A, B, C Do not try, D, E and F

My previously received script receives 3 parameters: 'A', 'F' and 'Refix / Head / Masters'

My pre-received script is running:

  git rev-list A..F  

thanks

/ code>

Use Git people in --after = & lt; Date & gt; Depending on the date of the filter and the date of the message, then after leaving a few dates, there should be zero number of digits.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -