Create public repository in current directory and view to the browser.
git init && gh repo create -y --public && gh repo view -w
Create private repository in current directory and view to the browser.
git init && gh repo create -y --private && gh repo view -w
Create a new repository base on this template.
git init && gh repo create -y -p start-vite-tailwindcss --public && gh repo view -w
Begin a project
git add -A && git commit -m ":octocat: Initial commit"
git add -A && git commit -m ":tada: Initial commit"
🔥 Remove code or files
git commit -m ":fire: Remove file..."
🐛 Fix a bug
git commit -m ":bug: Fix bugs..."
Create main branch
git checkout -b main
Delete local master branch
git checkout -b main
Delete remote master branch
git push origin --delete master
Push main branch
git push origin -u main
Git Tutorial
- https://dev.to/chrissiemhrk/git-commit-message-5e21
- https://www.digitalocean.com/community/cheatsheets/how-to-use-git-a-reference-guide
- https://udacity.github.io/git-styleguide/
Emoji