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?
with the Github for Mac appSelect the files that you want to commit their current state to the repository. You can view the changes of the file by clicking on the double up arrow on the file name bar. Type a commit summary, usually a description of what you've just added or changed. Click 'Commit'.
To fully learn Git, you'll need to set up both Git and GitHub on your Mac. Both are long you've been programming, and what tools you've installed, you may already have Git on your computer. Open Terminal and enter git –version.
Under the Description field, click Commit to BRANCH. If the branch you're trying to commit to is protected, Desktop will warn you. To move your changes, click switch branches. To commit your changes to the protected branch, click Commit to BRANCH.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With