Skip to content

appleseed-iii/AnonScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 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

just run the following to update your local .zshrc

cp zsh/.zshrc ~/.zshrc
source ~/.zshrc

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

Install Rectangle

https://github.com/rxhanson/Rectangle

About

Useful Unix Scripts for Anons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages