Skip to content
View stand-sure's full-sized avatar

Highlights

  • Pro

Block or report stand-sure

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Git delete merged branches Git delete merged branches
    1
    #! /bin/bash
    2
    branchName=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')
    3
    git checkout "$branchName" \
    4
            | git branch --merged \
    5
            | grep -E --invert-match "(^\*|master|main|dev)" \
  2. Git catch up current branch Git catch up current branch
    1
    #! /bin/bash
    2
    # checkout-pull-prune.sh
    3
    branchName=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')
    4
    git fetch origin "$branchName:$branchName"
    5
    git merge "$branchName"
  3. Git graph to HTML Git graph to HTML
    1
    #!/bin/bash
    2
    script -q -c "git --no-pager log --decorate --graph --format='%C(auto,#aa5500) %h %C(auto,#55ff55) (%an %GK %G?) %Creset %s %cr %C(auto,#ffff55) %d' --date=relative --all --remotes=* -n 100" ../graph.txt && \
    3
             ansi2html < ../graph.txt > ../graph.html
  4. gitignore gitignore Public

    Forked from github/gitignore

    A collection of useful .gitignore templates

  5. argocd-app-of-apps argocd-app-of-apps Public

    ArgoCD examples

    Shell 1

  6. upgrades brew packages and restarts ... upgrades brew packages and restarts the services that were updated
    1
    #! /usr/bin/env bash
    2
    brew upgrade | tee /tmp/brew.log
    3
    cat /tmp/brew.log | grep "brew services restart" | xargs -n 4 -L 1 -I {} sh -c "{}"