Set Up Git https://help.github.com/articles/set-up-git#platform-linux git config --global user.name "Chandan Datta" git config --global user.email "work.chandan@gmail.com" git config --global credential.helper cache now make the source dir git init touch INSTALL git add INSTALL git commit -m "first commit" git remote add origin https://github.com/dattachandan/nao_kinect_template_matching.git git push -u origin master git pull origin master git diff HEAD git diff --staged git reset newsrctree/src.txt git checkout -- <target> (change back to the last commit) git branch newsrctree git checkout newsrctree (switch branches) git rm '*.txt' D:\work\src\ideaworkspace\openmrs-module-orderentryui>git archive master | bzip2 >source-tree.tar.bz2 |
Editors/IDEs/Developmental Tools > Git >