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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:45:19+00:00 2026-06-09T19:45:19+00:00

I have some basic git questions, which i do not understand yet I hope

  • 0

I have some basic git questions, which i do not understand yet I hope someone can help me. Lets say I’m working on a Magento project, I run it local but i want to bring it online. So i push my shop to my server using git. Everything works fine until Magento provides an update. So here is my question:

I make any changes in my local directory and git add + git commit them, but when i update my Magento Shop through Magento Connect from 1.7 to 1.7.1 I will have a different setup on my server then I have on my local computer, right?

So what do I have to do, do make them equal? Do I have to make a checkout from the version runed on my server and replace it with my local magento?

  • 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-09T19:45:20+00:00Added an answer on June 9, 2026 at 7:45 pm

    From a version control point of view you do not want to have your development environment and live environment on the same branch. For example you could use the master branch for your development and then have your live environment on a stable branch. There are also branch structures with multiple feature, release and hotfix branches. But lets keep it simple for now.

    Regarding updates. You never want to run them on a live environment directly. It’s nearly impossible to do a rollback of the related DB changes. So always update and push your work upstream from dev to live instead of the other way around.

    So always do upgrades on your dev environment (thus master branch), and after testing commit them to your repository. Afterwards you can either merge or cherry-pick to the other branch. Afterwards update the live branch (i.e git pull or git fetch, git rebase) to deploy the upgrade.

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

Sidebar

Related Questions

Lets say we have some basic AR model. class User < ActiveRecord::Base attr_accessible :firstname,
I have some basic questions in eclipse plugin development, can anyone give clarification of
I have some some basic questions on Openid 1. Can anyone become an openid
I have some basic questions around understanding fundamentals of Performance testing. I know that
I have some basic idea on how to do this task, but I'm not
I have some basic questions of calling a Fortran model from GAE. I uploaded
I have some basic (stupid) questions about AWS EC2 instances or AMIs. I created
I have some basic questions with regards to portal framework - sorry if these
I have some basic knowledge of Mod Rewrite, but I can't figure this out!
I'm unclear on a basic principle of how Git branches work. Say I have

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.