You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
writeln!(message,"The following commits are merge commits:").unwrap();
168
+
169
+
for n in1..5{
170
+
writeln!(message,"- commit{n}").unwrap();
171
+
}
172
+
173
+
assert_eq!(
174
+
message,
175
+
"
176
+
There are merge commits (commits with multiple parents) in your changes. We have a [no merge policy](https://rustc-dev-guide.rust-lang.org/git.html#no-merge-policy) so these commits will need to be removed for this pull request to be merged.
177
+
178
+
You can start a rebase with the following commands:
179
+
```shell-session
180
+
$ # rebase
181
+
$ git rebase -i master
182
+
$ # delete any merge commits in the editor that appears
0 commit comments