Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Florian Haas (xahteiwi@mastodon.social)'s status on Wednesday, 04-Jan-2023 09:49:31 UTC Florian Haas Florian Haas

    Using lots of #git topic branches?

    Define an alias named "delete-merged-branches", containing this:

    !git branch --merged | grep -Ev '(main|master)' | xargs -prn1 git branch -d

    Since this is a bit tricky to do right with "git config" with the bang and the quotes, I'd recommend you just edit the [alias] section in your .git/config or ~/.gitconfig file. 🙂

    In conversation Wednesday, 04-Jan-2023 09:49:31 UTC from mastodon.social permalink

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • Privacy
    • Source
    • Version
    • Contact

    Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.