Skip to content

Commit c031418

Browse files
committed
Fix dev branch switching when clone with --depth 1. Koenkk/zigbee2mqtt#14363
1 parent b7a4496 commit c031418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/more/switch-to-dev-branch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cd /opt/zigbee2mqtt
2121
cp -R data data-backup
2222

2323
# Update
24-
git fetch
24+
git fetch origin dev
2525
git checkout dev # Change 'dev' to 'master' to switch back to the release version
2626
git pull
2727
npm ci

0 commit comments

Comments
 (0)