Question: I am trying to hide a row which contains in one of the cells a specific span element. The following code is what I have so far - but there is no getElementsByTagName for a tr 

What else can I do to get the row? Thanks !

```
<table id='tableContainer'>
<tr><td><span id='xyz'>Hide</span></td></tr>
<tr><td><span id='abc'>Show</span></td></tr>
</table>

container = document.getElementById('tableContainer');
items = container.getElementsByTagName('tr');

for (var j = 0; j < items.length; j++) {
    spans = items.getElementsByTagName('span');
    for (var i=0; i<spans.length; i++) {
        if (spans.id == 'xyz') {
            items.display = 'none';
        }
    }
}

```

Answer: 
ok, one way to do this is to use the `clone --template` option.

Specify the location where the client side hooks will be stored as value to the `--template` switch. The hooks are copied to the clone, and the post-checkout hook is fired immediately!
Since git version 1.6.3, the **post-checkout** hook runs on git-clone (when run without `--no-checkout`).

> 
> It is also run after git-clone[1], unless the --no-checkout (-n) option is used. The first parameter given to the hook is the null-ref, the second the ref of the new HEAD and the flag is always 1.
> 
> 
> 

<https://git-scm.com/docs/githooks#_post_checkout>