Skip to content

Commit

Permalink
style: trivial edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Lane committed Apr 15, 2022
1 parent 89295f4 commit d8dd242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git
Expand Up @@ -102,7 +102,7 @@ git branch -d <branch>
git push --delete origin <branch>

# Branches: To delete all branches on remote that are already merged:
git branch --merged | egrep -v (^*|main|dev) | xargs git branch -d
git branch --merged | egrep -v "(^*|main|dev)" | xargs git branch -d

# Branches: To make an exisiting branch track a remote branch:
git branch -u upstream/foo
Expand Down
2 changes: 1 addition & 1 deletion jq
Expand Up @@ -28,4 +28,4 @@ jq '.foo[] | {field_1,field_2}'
jq '.foo[] | {field_1,field_2} | join(" ")'

# only print records where given field matches a value
jq '.foo[] | select(.field_1 == "value_1")'
jq '.foo[] | select(.field_1 == "value_1")'

0 comments on commit d8dd242

Please sign in to comment.