We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7885974 commit 02d624dCopy full SHA for 02d624d
v3-to-v4.md
@@ -64,6 +64,15 @@ and try to set `--ref` from them.
64
| other | other | "" | error |
65
|----------|---------|---------|------------------------------|
66
67
+#### Default target
68
+
69
+In git-sync v3, if neither `--branch` nor `--rev` were specified, the default
70
+was to sync the HEAD of the branch named "master". Many git repos have change
71
+to "main" or something else as the default branch name, so git-sync v4 changes
72
+the default target to be the HEAD of whatever the `--repo`'s default branch is.
73
+If that default branch is not "master", then the default target will be
74
+different in v4 than in v3.
75
76
#### Abbreviated hashes
77
78
Because of the fetch loop, git-sync v3 allowed a user to specify `--branch` and
0 commit comments