threads / discuss / 39153

URL not displaying change made with git.

Subject: URL not displaying change made with git.

## tl;dr

4 messages between Apr 24, 2015 and Apr 24, 2015.

replies: 3people: 2as markdown or json

Scott Meyer· Apr 24, 2015, 12:22 UTC · lore
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· Apr 24, 2015, 12:50 UTC · re: Scott Meyer · lore

Re: URL not displaying change made with git.

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· Apr 24, 2015, 12:59 UTC · re: Matthieu Moy · lore

Re: URL not displaying change made with git.

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:

Show 9 quoted lines
> 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· Apr 24, 2015, 13:26 UTC · re: Scott Meyer · lore

Re: URL not displaying change made with git.

[ 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/

← back to recent threads