Git at simple

Git a simple system for version control system, with a basic steps is possible to install or compile git and start using.


After a simple apt-get install git or a ./configure, make and make install the software is ready to run. To create the repository:

mkdir gitrepo
cd gitrepo (with the code)
git init #init repository
git config –global “user”
git config –global “”
git commit -m ‘initial commit’
git push master
git config core.bare true

The workflow:
git status #shows the changed files
git add -u #add changed files or git add -u
git commit #inform the changes
git push #send the files

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *