Skip to content

Instantly share code, notes, and snippets.

@nphsu
Last active March 23, 2020 02:58
Show Gist options
  • Save nphsu/c42acc59976cea3f0ef51f6e903c10ae to your computer and use it in GitHub Desktop.
Save nphsu/c42acc59976cea3f0ef51f6e903c10ae to your computer and use it in GitHub Desktop.
Cheat sheet

Git

  • If you want to reset previous commit, then
> git reset --soft HEAD^

https://qiita.com/shuntaro_tamura/items/06281261d893acf049ed

  • If you want to rebase your commits, then
> git log --oneline
> git rebase -i [commitID]
> git push -f origin HEAD

https://qiita.com/tsuuuuu_san/items/f708a9f7ea8ab8eb6945

VSCode

  • Jump to the definition F12

  • Back to the caller function Cntl + -

Command

  • kill process
lsof -i :7545
kill -9 <PID>

CircleCI

local execute

circleci config process .circleci/config.yml > process.yml
circleci local execute -c process.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment