- get my Mac's RSA public key,
pbcopy < ~/.ssh/id_rsa.pub
- move files if destination does not exists,
mv -vn from_dir/**.JPG to_dir - rename files,
find . -depth -name "*.JPG" -exec sh -c 'f="{}"; mv -- "$f" "${f%.JPG}_1.JPG"' \;
- delete a branch locally and remotely,
git branch -d ${local_branch} && git push orogin -d ${remote_branch} - create local branch in git then push it to remote,
git checkout -b <branch> && git push -u origin <branch> - push to another url,
git remote set-url origin