[Mesa-dev] [PATCH 01/26] docs: git tips

Timothy Arceri timothy.arceri at collabora.com
Mon Feb 29 01:25:59 UTC 2016


On Mon, 2016-02-29 at 12:17 +1100, Timothy Arceri wrote:
> From: Timothy Arceri <t_arceri at yahoo.com.au>
> 

Whoops I didn't intend to send this with the series its just been
sitting in my repo as I wanted to add the commands I always forget
somewhere. We can still add it if others think its useful. 

> ---
>  docs/devinfo.html | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/docs/devinfo.html b/docs/devinfo.html
> index 8ebf80f..ed9eb9b 100644
> --- a/docs/devinfo.html
> +++ b/docs/devinfo.html
> @@ -162,6 +162,24 @@ components.
>  perhaps, in very trivial cases.)
>  </ul>
>  
> +<h3>Git Tips</h3>
> +
> +<ul>
> +<li>Test for build breakage between patches e.g last 8 commits.
> +<pre>
> +    git rebase -i --exec="make -j4" HEAD~8
> +</pre>
> +<li>Sets the default mailing address for your repo.
> +<pre>
> +    git config --local sendemail.to mesa-dev at lists.freedesktop.org
> +</pre>
> +<li> Add version to subject line of patch series in this case for
> the last 8
> +commits before sending.
> +<pre>
> +    git send-email --subject-prefix="PATCH v4" HEAD~8
> +</pre>
> +</ul>
> +
>  <h3>Patch formatting</h3>
>  
>  <p>


More information about the mesa-dev mailing list