Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9103127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:33:30+00:00 2026-06-17T01:33:30+00:00

For OpenShift: I created a test directory in ~ app-root/repo/data. I also have locally

  • 0

For OpenShift:

I created a test directory in ~ app-root/repo/data.
I also have locally ‘myapp'/data directory. I can push up to OpenShift with git. My test files upload fine which I can check with ssh.

Now I create a file with nano or vim remotely –file named remoteFileVim The files exists in the repo/data directory. When I do git pull locally, I dont see that file remoteFileVim.

I created a second file in app-root/data called secondVimFile, How do I pull this file to local machine. Can I use git? I have python 2.6, cron, mysql loaded on Openshift, if that helps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:33:32+00:00Added an answer on June 17, 2026 at 1:33 am

    If you can ssh into the machine, you should be able to read or write files using scp.

    Simply placing new files within your Openshift gear’s ~/app-root/repo/ folder will not cause the files to be included (checked in to) your revision control system. Normally, you should be using git commit and git push to make the majority of the changes to your app locally, then follow up by pushing those changes to your OpenShift gear.

    If your app needs on-disk storage, or access to additional content such as secret tokens and keys that you would prefer to keep out of your source code – you can place this content in your ~/app-root/data folder. This directory is not effected by deployments, and has been set aside for your app’s local disk storage needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Glassfish application server Openshift cloud servers. I can only use :8080
Thank for your help at first I created a app on Openshift (create method
I have moved my app to OpenShift and now, for convenience of getting it
I have a scalable EAP 6.0 web app hosted on Openshift, and I get
I am new to git (coming from Subversion). I am exploring OpenShift and created
I am attempting to deploy my java app to OpenShift Express. The app runs
I'm using RedHat Openshift cloud. I have done one thing(perhaps a blunder :( )
I've deployed a JBoss 7.1 application on OpenShift. Now I have to examine the
I'm trying to deploy a Grails app on OpenShift, and I'm trying to avoid
I have a drupal installation running on OpenShift. I have been installing all modules

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.