git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[bug] lots of changes including .gitignore, many rebases, can't legally share the repo

From
RDRadu Dan <radu@fullthrottle.ro>
Date
Jul 20, 2023, 21:52 UTC
Message-ID
<CAH3jj7fS3wziLfnAfKz49W+aZVPvF8Nm9UVBMWyeHLvYov7A-w@mail.gmail.com>

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

> What did you do before the bug happened? (Steps to reproduce your issue)

% git stash No local changes to save

% git commit -m wtf On branch test Your branch is up to date with 'origin/test'.

nothing to commit, working tree clean

% git checkout main error: Your local changes to the following files would be overwritten by checkout: settings/local.py Please commit your changes or stash them before you switch branches. Aborting

> What did you expect to happen? (Expected behavior)
Switch to `main`
> What happened instead? (Actual behavior)
Still on current branch
> What's different between what you expected and what actually happened?
Better error message
> Anything else you want to add:
First bug in 10 years of usage, great work!
> Please review the rest of the bug report below.
> You can delete any lines you don't wish to share.

[System Info] git version: git version 2.39.2 (Apple Git-143) cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Darwin 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64 x86_64 compiler info: clang: 14.0.3 (clang-1403.0.22.14.1) libc info: no libc information available $SHELL (typically, interactive shell): /bin/zsh

[Enabled Hooks]
Next: Torsten Bögershausen
Message 1 of 3 in “[bug] lots of changes including .gitignore, many rebases, can't legally share the repo”
  1. Radu DanJul 20, 2023
  2. Torsten BögershausenJul 21, 2023
  3. Radu DanJul 21, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.