DEV Community

Nandini S Hinduja
Nandini S Hinduja

Posted on

3 2 2 2 2

Git commands that every coder should know

Git commands that are really common and everyone should know:
git init
git clone
git add
git commit -m "Your commit message"
git status
git pull
git push origin
git checkout
git merge
git log
git fetch
git diff
git revert
git reset
git rm

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay