mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 22:35:17 +00:00
on sync add non-committed files too
This commit is contained in:
@@ -39,7 +39,7 @@ public class SyncOperation extends GitOperation {
|
|||||||
*/
|
*/
|
||||||
public SyncOperation setCommands() {
|
public SyncOperation setCommands() {
|
||||||
Git git = new Git(repository);
|
Git git = new Git(repository);
|
||||||
this.addCommand = git.add().setUpdate(true).addFilepattern(".");
|
this.addCommand = git.add().addFilepattern(".");
|
||||||
this.statusCommand = git.status();
|
this.statusCommand = git.status();
|
||||||
this.commitCommand = git.commit().setMessage("[Android Password Store] Sync");
|
this.commitCommand = git.commit().setMessage("[Android Password Store] Sync");
|
||||||
this.pullCommand = git.pull().setRebase(true).setRemote("origin");
|
this.pullCommand = git.pull().setRebase(true).setRemote("origin");
|
||||||
|
Reference in New Issue
Block a user