Skip to content

Instantly share code, notes, and snippets.

View zaki-hanafiah's full-sized avatar
🥸
🐔 the one who knocks

Zaki zaki-hanafiah

🥸
🐔 the one who knocks
View GitHub Profile
#!/bin/sh
#
# Suggested name for this script: git-clean-stale-branches
#
# This script will help to remove "stale" branches from a remote
# repository (by default the "origin" repository). Stale branches
# are any branches that does not exist in the local repository.
#
# This script should be run in the local repository. It will print
# out a git command to remove all branches from the remote repository
@zaki-hanafiah
zaki-hanafiah / multiple_ssh_setting.md
Last active December 29, 2021 14:48 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"