Checkout message duplicated

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ianthomas23 is already working on this.

Since Nov 6, 2026.

  • #204 by @ianthomas23 — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
25/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp
Domain
cli

Research direction

Start at the checkout command’s branch creation and checkout paths, and trace which path prints each message. Compare the output with the issue’s example; done means git2cpp checkout -b temp prints only “Switched to a new branch 'temp'”. Pull request #204 is already open for this issue.

Written by the indexing model from the issue text.

Description

bug

git2cpp checkout of a new branch prints two lines:

$ ./build/git2cpp checkout -b temp
Switched to a new branch 'temp'
Switched to branch 'temp'

where as real git prints just one:

$ git checkout -b temp
Switched to a new branch 'temp'
Dominant language
C++
Stars
7
Forks
5
Avg merge
2d 12h
Merged PRs (30d)
10

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QuantStack/git2cpp

All issues in QuantStack/git2cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.