Skip to content

Instantly share code, notes, and snippets.

@maazghani
Created October 17, 2021 09:42
Show Gist options
  • Save maazghani/fa5882c906d748a031c8c262ac4c97a2 to your computer and use it in GitHub Desktop.
Save maazghani/fa5882c906d748a031c8c262ac4c97a2 to your computer and use it in GitHub Desktop.
Ammi's Cheat Sheet

Terminal Commands

git

git clone [the-url]
ex: git clone github.com/maazghani/site.git

# pull the latest code
git pull

# create a branch
git checkout -b ammi-branch

moving around

# list files
ls

## list files in a list
ll

# move into a directory
cd directory

# move out of a directory
cd ..

special commands

# to run browser sync
browser-sync start --server --directory --files "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment