Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to remove directory when head is used #2101

Open
@cbfbl

Description

@cbfbl

GitPython version - 3.1.46
Python version - 3.13.9

Basically the following fails

import shutilfrom git import reporepo = Repo("some_url", "some_directory")print(repo.head.commit.hexsha)shutil.rmtree("some_directory")

Getting an error shutils rmtree failed and was not able to the delete the .git inside "some_directory"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp