You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to manage list of branches listed by this code.
app.get('/branches', function (req, res) {
repo.remote_fetch('origin', function (err) {
console.log(err);
});
repo.remotes(function (err, remotes) {
console.log(err);
res.json(remotes);
});
});
Currently it lists some of them, only that I requested explicitly with
git checkout branch-name
I've removed some of local branches with:
git branch -d needless-branch
But JSON that I see on localhost:3000/braches URL still contains needless-branch
I've tred to stop application and run it again - it did not help.
Can anybody suggest how to remove needless-branch from list of branches?
The text was updated successfully, but these errors were encountered:
I need to manage list of branches listed by this code.
Currently it lists some of them, only that I requested explicitly with
I've removed some of local branches with:
But JSON that I see on localhost:3000/braches URL still contains needless-branch
I've tred to stop application and run it again - it did not help.
Can anybody suggest how to remove needless-branch from list of branches?
The text was updated successfully, but these errors were encountered: