Skip to content

Instantly share code, notes, and snippets.

View ianonavy's full-sized avatar

I. A. Naval ianonavy

View GitHub Profile
@ianonavy
ianonavy / README.md
Created December 20, 2017 20:35
git-update-branch

git-update-branch

Rebase-friendly alternative to the GitHub "Update Branch" button on the pull request page.

Rebases a remote origin branch onto the latest default branch. Right now, hard coded for "develop" even though most people use "master". Feel free to edit.

I personally use this when I have many remote branches to merge and want all of them to be up-to-date with the latest default branch after each rebase. Of course, if you don't prefer rebase as an updating strategy you can just use the "Update branch" button in the GitHub UI. This is a rebase-friendly alternative.

Installation

diff --git a/15.6.9.md b/15.6.9.md
index 42699e1..67fdf60 100644
--- a/15.6.9.md
+++ b/15.6.9.md
@@ -1,43 +1,40 @@
### SUBCHAPTER IX—STANDARD TIME
### §260. Congressional declaration of policy; adoption and observance of uniform standard of time; authority of Secretary of Transportation
* It is the policy of the United States to promote the adoption and observance of uniform time within the standard time zones prescribed by sections 261 to 264 of this title, as modified by section 265 of this title. To this end the Secretary of Transportation is authorized and directed to foster and promote widespread and uniform adoption and observance of the same standard of time within and throughout each such standard time zone.
TF_LOG=DEBUG terraform apply
2022-11-03T10:05:02.664-0400 [INFO] Terraform version: 1.3.3
2022-11-03T10:05:02.664-0400 [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2022-11-03T10:05:02.664-0400 [DEBUG] using github.com/hashicorp/hcl/v2 v2.14.1
2022-11-03T10:05:02.664-0400 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-11-03T10:05:02.664-0400 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-11-03T10:05:02.664-0400 [DEBUG] using github.com/zclconf/go-cty v1.11.1
2022-11-03T10:05:02.664-0400 [INFO] Go runtime version: go1.19.1
2022-11-03T10:05:02.664-0400 [INFO] CLI args: []string{"/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.3.3/terraform", "apply"}
2022-11-03T10:05:02.664-0400 [DEBUG] Attempting to open CLI config file: /Users/ian/.terraformrc