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 7698009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:08:35+00:00 2026-05-31T22:08:35+00:00

I have made a deploy with capistrano in a repository remote. I’m novice with

  • 0

I have made a deploy with capistrano in a repository remote.

I’m novice with git.

Now I want update some files and make updates of my website…etc with git, because capistrano its more slowly if I run new deploy.

For updates files in remote repository I have made this steps:

1º

git add .

2º

git commit -a -m "changes made"

3º

git push origin master

4º

git pull origin master

However if I see the files in remote repository the changes have not been made :(.

on the last step I get this result in console:

ubuntu@ubuntu:~/Desktop/project$ git pull origin master
user@ip.ip.ip.ip's password: 
From ip.ip.ip.ip:~/project
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Edited with result step 3

after step 3 I get:

git push origin master
user@ip.ip.ip.ip's password: 
Counting objects: 110, done.
Compressing objects: 100% (57/57), done.
Writing objects: 100% (71/71), 447.59 KiB, done.
Total 71 (delta 30), reused 0 (delta 0)
To user@ip.ip.ip.ip:~/project
   33b8849..769d87d  master -> master

Edited with structure folder in remote server and capistrano deploy.rb

I have 2 directories project and project.com:

The first is project , in this directory is where the new changes are made.

and this directory have branches config description HEAD hooks info objects refs

The second directory is project.com is my domain folder, inside this directory I have 2 directories:

current, releases and shared

Inside releases directory is my release project deployed via capistrano with a directory like:

20120323164859

and inside current I have my rails 3.1 app.

I want see the changes made in this directory.

deploy.rb

$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load pathe
require "rvm/capistrano"                  # Load RVM's capistrano plugin.
require "bundler/capistrano"
set :rvm_ruby_string, 'ruby-1.9.2-p318@global'  
set :rvm_type, :user
set :application, "project.com"
set :user, 'user'
set :repository,  "#{user}@ip.ip.ip.ip:~/project"

set :scm, :git
set :use_sudo, false
set :keep_releases, 2
set :deploy_to, "~/#{application}"
set :deploy_via, :copy


role :web, "ip.ip.ip.ip"                          # Your HTTP server, Apache/etc
role :app, "ip.ip.ip.ip"                          # This may be the same as your `Web` server
role :db,  "ip.ip.ip.ip", :primary => true # This is where Rails migrations will run
load 'deploy/assets'

What am I doing wrong?

Thank you!

  • 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-05-31T22:08:36+00:00Added an answer on May 31, 2026 at 10:08 pm

    Is the remote repo an actual working copy by any chance? Git wont (easily, by default) push into and update a remote working copy. You should always push to bare repos.

    Edit

    So, your actual repository is in project, this is a bare repository and it is where your pushes will go. Go into this directory and do git log, you will see your changes assuming you have your origin set correctly, etc.

    To get the changes into one of the working copies in releases, you need to:

    • deploy using proper tools, such as capistrano (which I suggest because your releases/current/shared directory structure is common of rails projects, is that what you’re doing?)
    • go into one of the releases directories and simply git pull origin [branchname]
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made my first webpart using WSPBuilder. When I try to deploy it
I have made some code which exports some details of a journal article to
I have made a user control in asp.net c#. Becuase of some data I
I have made my GAE application using the development server, but now when I
i have made a program in C using the gcc compiler. Right now it
I have a report made with Crystal Reports 2008 that I need to deploy
I have 2 iPhone apps and want to deploy to iphone and somehow the
I have a site I made with Django, and I'm trying to deploy it
I have made a SVG image, or more like mini application, for viewing graphs
I have made a custom UserControl i Vb.net (windows application). How can I add

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.