Search code examples
gitopenshiftgit-pullgit-remote

Git pull not working for remote upload


I'm new in Git repository. So i have an openshift cloud all configured, and my application allows users to upload their avatar! But when i ran a 'git pull', those uploaded images, never came to my local repository, am i doing something wrong?

>git remote show origin
* remote origin
  Fetch URL: ssh://[email protected]/~/git/app.git/
  Push  URL: ssh://[email protected]/~/git/app.git/
  HEAD branch: master
  Remote branch:
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)

>git pull
Already up-to-date.

*UPDATE *

I have this on my local avatar folder:

22/11/2013  16:07    <DIR>          .
22/11/2013  16:07    <DIR>          ..
20/11/2013  14:58         1.232.470 093b9505ea07e2a0a0ba2fbad009761710f11a20.jpg
12/11/2013  10:20            42.438 11d264c7e3360f60a06ae1148b4e7294f686ff8b.png
12/11/2013  10:20            39.569 1cd9ef9d1ef9e86155debb50d06ea9f5d1316441.jpeg
12/11/2013  10:20            65.602 3b731826fe889acd2eb4efa0455ba6fa7b257f20.png
12/11/2013  10:20            42.438 448f8490c02d715691aaf3cb5f9847e70735940b.png
12/11/2013  10:20            27.749 5200215feaa755e86095426c95ccaefa4090c746.png
14/11/2013  11:38            23.681 8e7d5212060b3ada42592f043fcaf15b3d9aa189.png
13/11/2013  15:01            14.715 9a1d6d507cc37f29f7fbc8a9ad0f21c9cc543f22.jpg
12/11/2013  10:20            42.438 9bfa29592bb25945e93c9485bdc42b03efe69c44.png
12/11/2013  10:20             2.473 b9c146bde218eb2c90c55115780173e9a442b143.jpg
12/11/2013  10:20            22.304 c45dbe46fff57dc79aee02494623912bebce74da.jpg
12/11/2013  10:20            23.681 f584b0b5a02605b03ebe49712816e81bd5542fc9.png
12/11/2013  10:20             1.764 sem-imagem.jpg
              13 file(s)      1.581.322 bytes
               2 folder(s)   16.727.244.800 bytes available

I now for test i just uploaded the following image: 7851dc21ab0e1c6d936591c1889f2d259205d4dd.jpg

That doesn't exist in my local repo, but even i running 'git fetch' or 'git pull' i was unable to get that! So if i push some modification, all the avatar folder will be replaced!


Solution

  • SOLVED!! I have used this similar experience for my issue

    https://www.openshift.com/forums/openshift/one-newbie-question

    Thanks everybody :)