Skip to content

Instantly share code, notes, and snippets.

View ngtuan96lc's full-sized avatar
🏠
Working from home

Eric ngtuan96lc

🏠
Working from home
  • SmartOSC
  • VietNam
  • 23:36 (UTC +07:00)
View GitHub Profile
@ngtuan96lc
ngtuan96lc / Commands for Magento 2
Created October 22, 2018 02:15
All commands need to remember !
bin/magento setup:static-content:deploy -f
bin/magento dev:template-hints:enable
bin/magento indexer:reindex

Git Commands

git clone --branch <branch_name> git@github.com/<reponame> <folder>

Reset commit pushed to remote

git reset HEAD~1 --soft