-
all commits that your branch have that are not yet in master
git log master..<HERE_COMES_YOUR_BRANCH_NAME> -
setting up a character used for comments
git config core.commentchar
| # Automated AMI and Snapshot Deletion | |
| # | |
| # @author Bobby Kozora | |
| # | |
| # This script will search for all instances having a tag named "Backup" with a value of "Backup". | |
| # As soon as we have the instances list, we loop through each instance | |
| # and reference the AMIs of that instance. We check that the latest daily backup | |
| # succeeded then we store every image that's reached its DeleteOn tag's date for | |
| # deletion. We then loop through the AMIs, deregister them and remove all the | |
| # snapshots associated with that AMI. |
| #!/bin/bash | |
| # Authorize TCP, SSH & ICMP for default Security Group | |
| #ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0 | |
| #ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0 | |
| # The Static IP Address for this instance: | |
| IP_ADDRESS=$(cat ~/.ec2/ip_address) | |
| # Create new t1.micro instance using ami-cef405a7 (64 bit Ubuntu Server 10.10 Maverick Meerkat) |