Command Line to Remember
GitHub
git clean -f- Removes Unstaged UnTracked filesgit checkout .- Removes Unstaged Tracked filesgit reset --hard- Removes Staged Tracked and UnStaged Trackedgit stash -u- Removes all changes
git stash pop- Reapply the changes that were removed withgit stashgit commit --amend- Adds the staged file into the last commit
UV
Checkout UV here
uv add <package-name>— Install<package-namesource .venv/bin/activate— UV creates a virtual environmentdeactivate— To deactivate the environmentuv venv --python 3.11— select the python version (3.13 in this case)uv pip install -r <requirements>—<requirements>can be:requirements.txtpyproject.toml
uv pip freeze— list the dependencies inrequirements.txtformatuv pip sync pyproject.toml— sync an environment with a pyproject.toml fileuv run --with jupyter lab— start a Jupyter server