github for mac doesn't allow to perform partial checkin/commit

Mutant picture Mutant · Feb 26, 2012 · Viewed 11.3k times · Source

I am using GitHub for Mac, and have bunch of changes in my branch. I am have committed some of the changes and kept others as uncommitted as I am expecting some more changes. however, when I try to do sync in order to push those changes to Git repository it complains - 'Uncommitted Changes - Please commit all your changes before syncing.'

Any idea? does it expects all the changes to be committed all the time when you do sync?

Answer

Curley picture Curley · Mar 8, 2012

Rather than "syncing" your changes, GitHub for Mac does offer you the ability to push, pull and sync changes. Unfortunately, the UI button is for sync only. However, if you go to the menu bar, under "Repository" you see there are two additional changes: push (command + P) or pull (shift + command + P).