-
-
Notifications
You must be signed in to change notification settings - Fork 16
Committing
Committing changes can be done by hitting the commit
button. It will prompt you to choose commit
or commit and push
. Note that if you have selected to commit trough an external program you will be taken to that program once you hit the commit
button and the commit and push
button will be grayed out.
Once the changes are committed you can push them to your remote repository.
UniGit allows for multiple commit message settings. You can either type the message in unity or if you are like me and want more control and especially spellchecking you can use a file as your commit message. The option to chose what type of commit message to use is located in the Commit
menu from the Git Diff
windows in Commit/Commit Message/Read From File
.
Note that commit amending works for both unity and file commit messages.
If the option Read From File
is turned on, then unity will use the file located in your .git
folder under .git/UniGit/Settings/CommitMessage.txt
.
You can quickly open the file by hitting the Commit/Commit Message/Open File
option in the Git Diff
window.
Unity Refreshed the commit message automatically so that you can see it in the editor as well.
If you have just committed some changes but forgot to add something that doesn't require a whole new commit, you can click the Amend Commit
option to add any uncommitted changes to your last commit, without creating an entirely new commit. UniGit automatically copies your last commit message.
Features and Usage: