To cherry pick one or more changes from another branch without creating a new commit(s) in your current branch.
-
Get the from the changes commit.
-
Cherry pick using:
$ git cherry-pick -n <hash>
Where -n
is --no-commit
.
To cherry pick one or more changes from another branch without creating a new commit(s) in your current branch.
Get the from the changes commit.
Cherry pick using:
$ git cherry-pick -n <hash>
Where -n
is --no-commit
.
<?php | |
function create_tag_tree(array $keys = [], array $accu = [], int $count = 0): array { | |
if (count($keys) === 0 || $count > 100) return $accu; | |
$self = __FUNCTION__; | |
$key = array_pop($keys); | |
return $self($keys, [$key => $accu], $count+1); | |
} |
#!/bin/bash | |
# jq json tool by https://stedolan.github.io/jq/ | |
# install: $ brew install jq | |
echo 'Using jq json tool:' | |
which jq | |
# 1password login | |
eval $(op signin $NAME) |