Skip to content

Instantly share code, notes, and snippets.

@dev-w3
Last active December 19, 2019 11:39
Show Gist options
  • Save dev-w3/a6c62813485caa6b308b98db2b28148e to your computer and use it in GitHub Desktop.
Save dev-w3/a6c62813485caa6b308b98db2b28148e to your computer and use it in GitHub Desktop.
git init
git config --list --show-origin
git config --global user.name 'dev-w3'
git config --global user.email 'dev-w3@yahoo.com'
git config --list
git remote add origin https://github.com/dev-w3/nodeone.git
git status
git add .
git stash
git commit -m "initial commit"
git push origin master
git log --oneline
git pull origin master
@dev-w3
Copy link
Author

dev-w3 commented Dec 19, 2019

Git basic commands

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