DEV Community

Vishal Yadav
Vishal Yadav

Posted on

Some Important Command of git command as below

`git init for initialization
git status
git commit -m "first commit"
git add . or git add file name
git push -u origin master

for changing the name
git config --global user.name "name"
git config --global user.email "email@gmail.com"

for checking the email or name
git config user.email
git config user.name`

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