Versioning: Difference between revisions

Line 37:
 
= Git =
Initializing GIT repository:
Create a online repository on https://github.com
 
On Local Server:
{{UC }}
git remote add origin https://github.com/amanjosan2008/codered.git
git init
git add README.md
git commit -m "first commit"
git config --global user.email "amanjosan2008@gmail.com"
git config --global user.name "Amandeep Singh"
git commit -m "first commit"
git remote add origin https://github.com/amanjosan2008/codered.git
git push -u origin master
git add .
 
Commit:
git add -A
git commit -m "2nd Commit"
git push -u origin master
 
<br />