# URL not displaying change made with git.

4 messages from 2015-04-24 to 2015-04-24. Participants: Scott Meyer, Matthieu Moy.
Thread: https://gitlist.dev/t/39153

## Scott Meyer, 2015-04-24 12:22

Subject: URL not displaying change made with git.
Message-ID: <CAKXTx=1g6eBR1hR9vsQohjp2nCjd=gGU=embAzfQhp6JKZNyWQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAKXTx%3D1g6eBR1hR9vsQohjp2nCjd%3DgGU%3DembAzfQhp6JKZNyWQ%40mail.gmail.com

```
I used git in the following steps.

This is a local directory on a Mac, with Yosemite, using the latest
git version.  The directory name is "development".

using eclipse I created a branch WO_1
I made a change to the file
eclipse indicates the change
I use the plus to add it to the Index
I commit the change
I go to the development directory using the terminal and checkout branch WO_1
using git status shows I am in branch WO_1
I used nano on the file to verify the change is there.

When I use my browser to bring up the site the change is not visible.
I have cleared the cache in the browser and have tried other browsers.

What I am I missing?

```

## Matthieu Moy, 2015-04-24 12:50

Subject: Re: URL not displaying change made with git.
Message-ID: <vpqoamdellc.fsf@anie.imag.fr>
URL: https://gitlist.dev/e/vpqoamdellc.fsf%40anie.imag.fr
In-Reply-To: <CAKXTx=1g6eBR1hR9vsQohjp2nCjd=gGU=embAzfQhp6JKZNyWQ@mail.gmail.com>

```
Scott Meyer <dutchlab@gmail.com> writes:

> When I use my browser to bring up the site the change is not visible.

Which site are you talking about?

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```

## Scott Meyer, 2015-04-24 12:59

Subject: Re: URL not displaying change made with git.
Message-ID: <CAKXTx=3HeZ7WzX-4soENvPL1TSomg-xgSMn_-sABMOs1x=yRDg@mail.gmail.com>
URL: https://gitlist.dev/e/CAKXTx%3D3HeZ7WzX-4soENvPL1TSomg-xgSMn_-sABMOs1x%3DyRDg%40mail.gmail.com
In-Reply-To: <vpqoamdellc.fsf@anie.imag.fr>

```
The site is local to my laptop.  I am attempting to establish a
development environment where I can view and test changes before
moving to production.

On Fri, Apr 24, 2015 at 8:50 AM, Matthieu Moy
<Matthieu.Moy@grenoble-inp.fr> wrote:
> Scott Meyer <dutchlab@gmail.com> writes:
>
>> When I use my browser to bring up the site the change is not visible.
>
> Which site are you talking about?
>
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/

```

## Matthieu Moy, 2015-04-24 13:26

Subject: Re: URL not displaying change made with git.
Message-ID: <vpq4mo5d5d9.fsf@anie.imag.fr>
URL: https://gitlist.dev/e/vpq4mo5d5d9.fsf%40anie.imag.fr
In-Reply-To: <CAKXTx=3HeZ7WzX-4soENvPL1TSomg-xgSMn_-sABMOs1x=yRDg@mail.gmail.com>

```
[ Please, don't top-post on this list ]

Scott Meyer <dutchlab@gmail.com> writes:

> The site is local to my laptop.  I am attempting to establish a
> development environment where I can view and test changes before
> moving to production.

OK, so you're doing web development, right?

Then, the problem is unrelated from Git: your webserver looks at files
on disk, not at the Git repository (i.e. whether your changes are staged
in the index, commited, or totally outside Git does not change the
result). My guess would be that you have two clones of the same project.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```
