mirror of
https://github.com/NekoMonci12/Git-Craft.git
synced 2025-12-20 07:19:17 +00:00
Player Name As Commit Author
This commit is contained in:
@@ -53,11 +53,11 @@ public class GitManager {
|
||||
add.call();
|
||||
}
|
||||
|
||||
public void commit(String message) throws Exception {
|
||||
public void commit(String message, String authorName, String authorEmail) throws Exception {
|
||||
getOrOpenGit()
|
||||
.commit()
|
||||
.setMessage(message)
|
||||
.setAuthor("Minecraft", "mc@localhost")
|
||||
.setAuthor(authorName, authorEmail)
|
||||
.call();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user