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