Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Could not find the remote named local #52

Open
caleb15 opened this issue Sep 30, 2019 · 1 comment
Open

[bug] Could not find the remote named local #52

caleb15 opened this issue Sep 30, 2019 · 1 comment

Comments

@caleb15
Copy link

caleb15 commented Sep 30, 2019

>>> git-sweep cleanup --origin=local
Could not find the remote named local

Not sure why it needs a remote named local, it should be able to tell if a branch is local or not without the user having to configure their remotes in a special way.

@Sapphire64
Copy link
Contributor

Hi, not an author of this repo, but one who added a comment in README telling how to clean up local branches. You actually need to add remote named local to make it work, and it's a hack to achieve the desired effect:

git remote add local $(pwd)

Unfortunately this project is dead for a while so feel free to fork it and improve it, especially around local branches. Also Python 3 support is needed already :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants