We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi @tj,
When your team do Merge Requests in web, like in Gitlab, your remote branch is deleted, but local current branch isn't.
To avoid user to go into develop branch, do a git pull and then execute git delete-branch branch-name, it would be interesting an method like this:
git pull
git delete-branch branch-name
git delete-current-branch
branch=$(git branch --show-current) git checkout develop git pull git branch -d $branch
What do you think about this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @tj,
When your team do Merge Requests in web, like in Gitlab, your remote branch is deleted, but local current branch isn't.
To avoid user to go into develop branch, do a
git pull
and then executegit delete-branch branch-name
, it would be interesting an method like this:Command
git delete-current-branch
Instructions
What do you think about this?
The text was updated successfully, but these errors were encountered: