eritikass / kta-19e_tund1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kta-19e_tund1

tund1 stuff!

tools required

testing framework

git commands

# set your name/email in git
git config --global user.name "John Doe"
git config --global user.email "johndoe@example.com"

# use vs code as default editor
git config --global core.editor "code --wait"

git remote hard reset

# list git repo remotes
git remote -v

# add new remote
# name=ops
# location=https://github.com/eritikass/kta-19e_tund1.git
git remote add ops https://github.com/eritikass/kta-19e_tund1.git

## each time you want to reset

# fetch info from ops remote
git fetch ops

# reset local to ops remote master branch 
git reset --hard ops/master

# git force push to remote (will override remote)
git push -f

ESLint

init using (with cmd in windows)

node node_modules\eslint\bin\eslint.js --init

Husky

Add Husky to enable testing/linting for git push/commit.

About


Languages

Language:JavaScript 100.0%