git the wnderfull tool
Post on 18-Jul-2015
125 Views
Preview:
TRANSCRIPT
"I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'Git'".
By Linus Torvalds
Git Philosphy
1.Commit early, commit often
2.One commit represents one idea or one change.
3.Your working directory, index, and local repo are your scratch pads.
Creating and adding files to repostory
$git init
$git remote add origin https://github.com/User-name/name-of-repository.git
$git pull origin master
$git add filename
$git commit -m "Message"
$git push origin
top related