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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:00:38+00:00 2026-05-26T22:00:38+00:00

I made a bunch of changes to files in a git repository. Before I

  • 0

I made a bunch of changes to files in a git repository. Before I committed anything I was asked to commit some other files someone else had for me (coming from an SVN repository). I dropped those files into my project folder, picked them from amongst all of the changed files from earlier and committed them. Now I need to Sync the branch to get these to move to Github but when I try to sync I get “Uncommitted Changes. Please commit your changes before syncing”.

I assume this refers to all of the files I had changed previously? However, I do not want those so be committed… they are not ready. I only want to commit this small subset of files. What does one do in this situation? How do I move all of the changes I’ve made that I do NOT want to be a part of this commit out of the way, for lack of a better word, and get the part I DO want to change into the github repository?

I’m using the GitHub App but can do it from the command line if needed… just not sure what needs to be done.


Here are some screenshots to make it clearer:

At the bottom of my list of changed files is the commit I want to move:

enter image description here

Trying to get that commit to move over to github I click the Sync button and get:

enter image description here

What is the solution? How do I get these “uncommitted changes” out of the way? Obviously I am new to git so I am not clear on the correct approach. Thanks.

  • 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-26T22:00:39+00:00Added an answer on May 26, 2026 at 10:00 pm

    I don’t know if the GitHub app provides this functionality (though I would kind of expect it to), but git has a function called “git stash” which takes all your uncommitted changes and stashes them away in a special place. This leaves you with a pristine working copy (without those changes), where you can do whatever you need to, and then use git stash pop (or git stash apply) to reapply your uncommitted changes. I encourage you to read the manpage.

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

Sidebar

Related Questions

I'm trying to update a Git repository on GitHub. I made a bunch of
I performed the following actions in TFS: Accidentally made some changes to a bunch
Recently I made a bunch of changes to my local svn config file. Mainly
I am a git noob and git just deleted a bunch of important files.
I made a whole bunch of changes to one of the branches. Now I
I just made a bunch of mistakes in a bunch of my files. Now
I inherited an Access application that I have made some changes to. When I
I made bunch of benchmarks of the framework 4.0 and older and I can't
So I have a bunch of UIViews that I made programmatically and placed a
Suppose you have a large file made up of a bunch of fixed size

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.