TGViewer
Coding Projects Coding Projects @programming_experts ยท 68K subscribers
Post #2521 4.54K
Git Commands

๐Ÿ›  git init โ€“ Initialize a new Git repository
๐Ÿ“ฅ git clone <repo> โ€“ Clone a repository
๐Ÿ“Š git status โ€“ Check the status of your repository
โž• git add <file> โ€“ Add a file to the staging area
๐Ÿ“ git commit -m "message" โ€“ Commit changes with a message
๐Ÿš€ git push โ€“ Push changes to a remote repository
โฌ‡๏ธ git pull โ€“ Fetch and merge changes from a remote repository


Branching

๐Ÿ“Œ git branch โ€“ List all branches
๐ŸŒฑ git branch <name> โ€“ Create a new branch
๐Ÿ”„ git checkout <branch> โ€“ Switch to a branch
๐Ÿ”— git merge <branch> โ€“ Merge a branch into the current branch
โšก๏ธ git rebase <branch> โ€“ Apply commits on top of another branch


Undo & Fix Mistakes

โช git reset --soft HEAD~1 โ€“ Undo the last commit but keep changes
โŒ git reset --hard HEAD~1 โ€“ Undo the last commit and discard changes
๐Ÿ”„ git revert <commit> โ€“ Create a new commit that undoes a specific commit


Logs & History

๐Ÿ“– git log โ€“ Show commit history
๐ŸŒ git log --oneline --graph --all โ€“ View commit history in a simple graph


Stashing

๐Ÿ“ฅ git stash โ€“ Save changes without committing
๐ŸŽญ git stash pop โ€“ Apply stashed changes and remove them from stash


Remote & Collaboration

๐ŸŒ git remote -v โ€“ View remote repositories
๐Ÿ“ก git fetch โ€“ Fetch changes without merging
๐Ÿ•ต๏ธ git diff โ€“ Compare changes


Donโ€™t forget to react โค๏ธ if youโ€™d like to see more content like this!
  • โค 14
  • ๐Ÿ‘ 1
  • ๐Ÿ˜ 1
More from @programming_experts
  1. Oct 9, 2026๐Ÿ‡ฎ๐Ÿ‡ณ ๐—š๐—ข๐—ฉ๐—˜๐—ฅ๐—ก๐— ๐—˜๐—ก๐—ง ๐—ข๐—™ ๐—œ๐—ก๐——๐—œ๐—” โ€” ๐—”๐—œ๐—–๐—ง๐—˜ ๐—œ๐—ก๐—ง๐—˜๐—ฅ๐—ก๐—ฆ๐—›๐—œ๐—ฃ๐—ฆ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐Ÿš€โ€ฆ
  2. Oct 8, 2026๐ŸŽ“ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ๐˜€! ๐Ÿš€๐Ÿ”ฅ Upgrโ€ฆ
  3. Oct 7, 2026๐ŸงฉNow, Let's Understand Functions in Programming ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ”ฅ After variables, operators, condiโ€ฆ
  4. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  5. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  6. Sep 29, 2026Post #2901
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’