Note that there are some explanatory texts on larger screens.

plurals
  1. POGitHub - Unsynchronized Commit?
    primarykey
    data
    text
    <p>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".</p> <p>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?</p> <p>I'm using the GitHub App but can do it from the command line if needed... just not sure what needs to be done.</p> <hr> <p>Here are some screenshots to make it clearer:</p> <p>At the bottom of my list of changed files is the commit I want to move:</p> <p><img src="https://i.stack.imgur.com/fWxmq.jpg" alt="enter image description here"></p> <p>Trying to get that commit to move over to github I click the Sync button and get:</p> <p><img src="https://i.stack.imgur.com/2iIzS.jpg" alt="enter image description here"></p> <p>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.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload