Skip to content

appleseed-iii/AnonScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AnonScripts

Useful Unix Scripts for Anons

Readme

Read the comments in the scripts for usage

Contents

  1. .ssh/config

  2. .zshrc

  3. GitOwner script


  1. create another ssh rsa. tips from github

  2. edit your ssh config to something like below, keeping a normal github config & and a github-anon config

$ nano ~/.ssh/config

Host github.com
  HostName github.com
  User git
  IdentityFile ~/.ssh/your_normal_rsa
  IdentitiesOnly yes

Host github-anon  
  HostName github.com
  User git
  IdentityFile ~/.ssh/anon_rsa
  IdentitiesOnly yes
# ----------------------
# Git Aliases
# ----------------------
alias gaa='git add .'
alias gcm='git commit'

# perl5 if you need it
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"

# ---------
# browser
export BROWSER="Brave Browser"

delete all merged git branches except master|develop|alpha

git branch --merged | egrep -v "(^\*|master|develop|alpha)" | xargs git branch -d

delete all git branches except master|develop|alpha

git branch | egrep -v "(^\*|master|develop|alpha)" | xargs git branch -d

About

Useful Unix Scripts for Anons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages