Usage
change-github-default-branch.sh "$GITHUB_TOKEN" PurpleBooth/homebrew-repo
Does not delete the old default branch, or change where pull requests are based from, incase something breaks.
| #!/bin/bash | |
| # | |
| # sudo apt-get install id3v2 ffmpeg | |
| # | |
| # USAGE: | |
| # cd /book title/ | |
| # bash ~/this_script_path.sh | |
| # rm *.m4b (you need to manually remove the original in case something goes wrong) | |
| # | |
| # |
| # itemguard -- un/closet pvpables by value, with managed exceptions | |
| # configuration | |
| int closet_value_higher_than = 1000; | |
| boolean[item] always_bag = $items[Freddy Kruegerand]; # list "none" rather than empty! | |
| boolean[item] always_closet = $items[sand dollar, hobo nickel, bowling ball]; | |
| # donfiguration | |
| boolean pvpable(item it) { | |
| return it.tradeable && it.discardable && !it.gift; # && !it.quest |
This git alias allows you to remove specific changes from a past commit / from git history and place those changes into your working directory, outside of your git history.
For example, maybe a code reviewer has identified a few files or lines that belong in their own commit or pull request. This helps you do git commit surgery on specific commits without needing to manually re-play.
git edit {commithash}
(e.g. git edit HEAD would edit the most recent commit or git edit c52b7bfe12c2f6082a69ea339eeec95a20532fa5 would edit a specific commit)