Skip to content

Instantly share code, notes, and snippets.

@devded
Last active June 20, 2021 11:58
Show Gist options
  • Save devded/2d782966e32fde23181a5e6669e60468 to your computer and use it in GitHub Desktop.
Save devded/2d782966e32fde23181a5e6669e60468 to your computer and use it in GitHub Desktop.

Git important command


First setup

git config --global user.email "you@example.com"

git config --global user.name "Your Name"

To check git install on system

git --version

For Clone Repository

git clone <repository link>

Add all changes

git add .

For commit

git commit -m "message about the change"

For Push

git push

For Pull

git pull

by @dedar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment