git pull hard
git reset --hard origin/master
force git pull overwrite
# if working with newer repos where 'master' is now 'main'
git fetch --all
git reset --hard origin/main
javascript location object
// Prints complete URL
window.location.href
// Prints protocol like http: or https:
window.location.protocol
// Prints hostname with port like localhost or localhost:3000
window.location.host
// Prints hostname like localhost or www.example.com
window.location.hostname
// Prints port number like 3000
window.location.port
// Prints pathname like /products/search.php
window.location.pathname
// Prints query string like ?q=ipad
window.location.search
// Prints fragment identifier like #featured
window.location.hash
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us