Discard changes and revert commits
Undo work you do not want to keep.
Discard uncommitted changes
- Open the ⋯ menu of a file in the Changes tab and tap Discard changes…. A modified file returns to its last committed state; a new file is deleted.
- Discard all changes… in the list menu does this for every file.
Revert a commit
Open a commit in the History tab, tap ⋯ and choose Revert commit…. GiCode applies the opposite changes to your working copy. Nothing is committed until you review the result and commit it yourself.
Was this article helpful?Send feedback
Didn't find what you need?
Write to us – we reply as soon as we can. Please include your app version (bottom of Settings) and your iOS version. Never send access tokens or passwords.
