mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Update template without depth: 1
This commit is contained in:
1 file changed
+1
-2
@@ -114,11 +114,10 @@ export class ProjectsManager {
|
||||
* exactly match the remote.
|
||||
*/
|
||||
private async forcePullTemplate(templatePath: string): Promise<void> {
|
||||
// Fetch the latest changes from remote (shallow fetch for efficiency)
|
||||
// Fetch the latest changes from remote
|
||||
const fetchResult = await this.git.fetch({
|
||||
dir: templatePath,
|
||||
singleBranch: true,
|
||||
depth: 1,
|
||||
});
|
||||
|
||||
// Get the current branch name (e.g., "refs/heads/main")
|
||||
|
||||
Reference in new issue
Block a user