Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Repository Management

A personal cheat sheet for managing GitHub repositories β€” from initial setup to daily workflows.


πŸ“Œ What's Inside

  • Setup β€” Initializing repos, connecting local to remote
  • Daily Workflow β€” add, commit, push, pull
  • Branching β€” creating, merging, deleting branches
  • Commit Standards β€” Conventional Commits reference
  • Troubleshooting β€” common errors and fixes

⚑️ Quick Reference

Starting a Repo

git init
git add .
git commit -m "feat: initial commit"
gh repo create REPO_NAME --public --source=. --remote=origin --push

Daily Workflow

git pull                        # Sync latest changes
git add .                       # Stage all changes
git commit -m "type: message"   # Save snapshot
git push                        # Upload to GitHub

Branching

git branch BRANCH_NAME          # Create branch
git checkout BRANCH_NAME        # Switch to branch
git checkout -b BRANCH_NAME     # Create and switch at once
git merge BRANCH_NAME           # Merge into current branch
git branch -d BRANCH_NAME       # Delete branch

πŸ“ Commit Message Format

<type>(<scope>): <short summary>
Type When to Use
feat New feature
fix Bug fix
docs Documentation only
refactor Code restructure
chore Config, dependencies

πŸ—‚οΈ Folder Structure

GitHub_Management/
β”œβ”€β”€ setup/
β”œβ”€β”€ workflow/
β”œβ”€β”€ branching/
β”œβ”€β”€ commit-standards/
└── troubleshooting/

πŸ™‹ About

Personal notes and commands I use day-to-day for managing GitHub repositories. Always evolving as I learn more. PRs and suggestions are welcome!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors