Skip to content

Instantly share code, notes, and snippets.

View shahzaib414's full-sized avatar

Shahzaib Shahid shahzaib414

View GitHub Profile
# remove specific file from git cache
git rm --cached filename
# remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
@shahzaib414
shahzaib414 / MyFirstGist.ts
Last active April 24, 2021 17:10
Another Gist
const Typescript = () => {
console.log("Typescript Gist")
}
@shahzaib414
shahzaib414 / .ts
Created April 24, 2021 10:02
Gist API
const JavascriptGist = () => {
console.log("Javascript - Gist)
}