MCPcopy Create free account
hub / github.com/dashed/git-chain / print_rebase_error

Function print_rebase_error

src/git_chain/operations.rs:10–20  ·  view source on GitHub ↗
(executable_name: &str, branch: &str, upstream_branch: &str)

Source from the content-addressed store, hash-verified

8use crate::{check_gh_cli_installed, Chain};
9
10pub fn print_rebase_error(executable_name: &str, branch: &str, upstream_branch: &str) {
11 eprintln!(
12 "🛑 Unable to completely rebase {} to {}",
13 branch.bold(),
14 upstream_branch.bold()
15 );
16 eprintln!(
17 "⚠️ Resolve any rebase merge conflicts, and then run {} rebase",
18 executable_name
19 );
20}
21impl GitChain {
22 pub fn rebase(
23 &self,

Callers 1

rebaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected