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

  • SEARCH
  • Home
  • 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 8118359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:27:48+00:00 2026-06-06T04:27:48+00:00

On my ec2 instance, I am trying to do a pull requests of my

  • 0

On my ec2 instance, I am trying to do a pull requests of my github repo. I get the below error. On my local machine I commit everything. How do I deal with pyc files if that is the issue?

git add .
git commit -m 't'
git push origin development

git pull
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 2 (delta 1), reused 2 (delta 1)
Unpacking objects: 100% (2/2), done.
From https://github.com/me/rtbopsConfig
   8e320f6..0565407  development -> origin/development
Updating 94f7f3e..0565407
error: Your local changes to the following files would be overwritten by merge:
    classes/ec2/ec2Auto.pyc
    classes/redis_ha.pyc
    classes/rtbUtilities.pyc
    rtb_redis_connections/redis_connections.pyc
Please, commit your changes or stash them before you can merge.
Aborting
  • 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-06T04:27:50+00:00Added an answer on June 6, 2026 at 4:27 am

    You shouldn’t store .pyc files in Git. On your workstation, do

    find . -name *.pyc -exec git rm {} \;
    

    Then add a line *.pyc to .gitignore, commit all the changes and push.

    On the other end (EC2), do

    git checkout classes/ec2/ec2Auto.pyc classes/redis_ha.pyc \
                 classes/rtbUtilities.pyc rtb_redis_connections/redis_connections.pyc
    

    then pull.

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

Sidebar

Related Questions

I have setup a new EC2 instance on AWS and I'm trying to get
Im trying to implement an Observer/Observable pattern on an EC2 instance. I have been
I am trying to ssh to amazon ec2 instance from shell using the following
I am trying to perform auto scaling on Amazon EC2 with below commands: elb-create-lb
I'm trying to start a Amazon EC2 cloud machine with [startInstance][2] method using aws-sdk
I have a website running on an Amazon EC2 Instance, and I'm trying to
I am trying to get RabbitMQ with Celery and Django going on an EC2
I need to convert UTC time, (on ec2 instance) to PST. I am trying
I was recently trying to set up an Amazon EC2 instance to run Rails
I'm trying to get started with EC2 running a django site on a micro-linux

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.