https://github.com/chepo92/github-tutorial
https://github.com/chepo92/github-tutorial
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chepo92/github-tutorial
- Owner: chepo92
- License: gpl-3.0
- Created: 2020-03-19T20:39:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T17:57:19.000Z (almost 5 years ago)
- Last Synced: 2025-02-04T18:48:35.097Z (4 months ago)
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Git essential commands
## Start version tracking
git init## Clone a repo
git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY## Add files
git add --all## Add another repo as subfolder
git submodule add https://github.com/chaconinc/DbConnectorSee: https://git-scm.com/book/en/v2/Git-Tools-Submodules
## See status
git status## Configure Username
git config --global user.name ""## Configure Email
git config --global user.email ""## commit
git commit -m "Commit message"## Push
git push## Pull
git pull## Remove version tracking
rm -rf .git