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: 
When you *clone* a remote repository, you can't run any client-side hooks because hooks are local to your working copy, and you're creating one from scratch. When you *pull* new changes from a remote repository, git will run your local `post-merge` hook if it exists.

There is nothing run on the server as the result of a *pull* operation. A *push* operation will trigger the servers's `update` and `post-update` hooks.

See the [Git Book](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) for more information.
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>