mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Add git autosync functionality
This commit is contained in:
7 files changed
+201
-51
No files matched your search
@@ -193,6 +193,13 @@ export function ConfigureRepoStep({
|
||||
});
|
||||
}
|
||||
|
||||
// Enable autosync by default after successfully setting up the remote
|
||||
await git.setConfig({
|
||||
dir,
|
||||
path: 'shakespeare.autosync',
|
||||
value: 'true',
|
||||
});
|
||||
|
||||
// Refresh git status before showing success
|
||||
await refetchGitStatus();
|
||||
// Show success state
|
||||
|
||||
Reference in new issue
Block a user