- 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 <new_url> - revert last commit then push it to remote,
git reset --hard head~1 && git push -f origin
- previous(next) one in history, ctrl + p(n)
- move, ctrl + a(|<-), alt + b(<<), ctrl + b(<), ctrl + f(>), alt + f(>>) ctrl + e(->|)
- delete, ctrl + u(to beginning), ctrl + w(one word before), alt + d(one word after), ctrl + k(to end)
- items
-, without theme one(s)##, under certain theme(s)file, respect to certain range of time / space / anythings, I guess
- import things stay by just REVIEW AND COPY into new places