Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 561 Bytes

File metadata and controls

12 lines (11 loc) · 561 Bytes

Basic Git Commands

Config username: git config --global user.name "thepegasus" Config email address: git config --global user.email "thepegasus@users.noreply.github.com" Clone repo: git clone git://github.com/thepegasus/pytrials.git Add files to git for tracking: git add *.py Remove files from git: git rm greet.py~ Commit locally: git commit -m "A humble beginning with hello world" Change URL: git remote set-url origin https://github.com/thepegasus/pytrials.git Dry Run: git push -n origin master Push to server: git push origin master