How to ignore unmanaged change in Github gui for MAC?

I am using the Github GUI for Mac. Now I have some changes in my local repository, but I want to ignore them and pull the latest deleted repositories. I tried Repository / Pull but got a Git Error.

"• error: your local changes in the following files will be overwritten by merging: Classes /xxx.m Please make your changes or write them down before you can merge.

I tried repository / sync but got the following error.

"Sync Failed. Be sure to copy all your changes before synchronizing."

Any idea?

+5
source share
4 answers

MAC GUI, , .

+3

, " ".

+5

, .

Stash , "" "stash":)

+1

, Github Windows, , " ", :

  • , .
  • Right-click the Collapse All / Expand All button with two arrows. (This button is located on the right side of the "Files for commit" window, as well as under the "Sync and Transfer" icons). Here, "Reset All Changes"> is hidden <.

Sorry, but too low to add a comment to @Leo wangs or the @aspiringwebdev chain above. You have to start somewhere ...

0
source

All Articles