Giter VIP home page Giter VIP logo

git-removed-branches's People

Contributors

chainsawkitten avatar erkage avatar nemisj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

git-removed-branches's Issues

Couldn't delete branches with # in name

i have branches with ticket numebrs in it so like:
#345 - escape hashmark in branchname before delete

Got this error for them:
ERROR: Unable to remove: Command failed: git branch -D #345---escape-hashmark-in-branchname-before-delete fatal: branch name required

So # should escape with \ so the working command is:
git branch -D \#345---escape-hashmark-in-branchname-before-delete

I don't know are there any similiar charater that should be escaped before deleting.

It's simply not working

After one of my branches got merged and I deleted that on GitHub, I installed this though npm, and while on the same branch I ran the command to delete the branch. It asked me to run git fetch -p I ran it, but still its issuing me the command to run git fetch -p again.

Getting an ERR_CHILD_PROCESS_STDIO_MAXBUFFER right after install

➜  git:(master) npm install -g git-removed-branches

added 2 packages, and audited 3 packages in 836ms

found 0 vulnerabilities
➜  git:(master) git removed-branches
RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
    at new NodeError (node:internal/errors:372:5)
    at Socket.onChildStdout (node:child_process:461:14)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:293:11)
    at Socket.Readable.push (node:internal/streams/readable:234:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Googled around a bit but didn't see anything obvious so I figured I'd submit here :)

Not finding branch name

Hello, today i tried to prune my branches using your approach but when i tried to delete some error occurred as you can see in the screenshot
image

I think it can be a problem with the deleteBranches implementation in find-stale.js.
It is using single quotes

i would change the line 256

var exec = utils.asyncExec(['git', 'branch', dFlag, "'" + branchName + "'"]);

To

var exec = utils.asyncExec(['git', 'branch', dFlag, branchName ]);

I am using windows, maybe in linux could work with single quote but i didn't test yet

Error: Command failed: git ls-remote -h

When I run the command npx git-removed-branches -r it gives an error and shows me nothing more than that.
I am on Windows 10

npx git-removed-branches -r
Error: Command failed: git ls-remote -h

    at ChildProcess.exithandler (node:child_process:398:12)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Python version as a module at pypi.org

Hi there,

First, this is actually not a issue!
Second, thanks for writing sharing this code, really useful!
Since you have made a Python version, what do you think about releasing it as a Python module so it could be easily published (and installed from) http://pypi.org?
I'm willing to help with all the process, just let me know if you think it's a good idea.
Regards,
Alceu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.