Ilya Boyarintsev

Testing conetnt article

Something somthening cool to write about.

Amend an unpushed commit message

Terminal
git commit --amend

Delete a branch locally

Terminal
git branch -d localBranchName

Delete a branch remotely

Terminal
git push origin --delete remoteBranchName

Remove commit based on commit history position

Terminal
git reset --hard HEAD~1

Remove .env from GitHub

Terminal
git rm -r --cached .env
git commit -m 'untracking .env'
git push origin master

Remove node_modules

Terminal
rm -rf node_modules
Terminal
crontab -e

List cron jobs

Terminal
crontab -l
💡

Это важное замечание, на которое стоит обратить внимание!

Sber-tech

Published: Jun 9, 2024

Ilya Boyarintsev

Thanks for reading!

If you have any questions or want to discuss something, feel free to message me directly @Ilyaboyarintsev or email me.

just now