Wednesday, August 10, 2016

Step to install Git hub

install git hub desktop from net i.e. https://desktop.github.com
This will give GitHub and GitHub Shell
Find the git.exe path in newly installed packages :-
—Git Hub
C:\Users\admin\AppData\Local\GitHub\PortableGit_xxx\cmd\git.exe init
– inside folder where all source code is kept
C:\Users\admin\AppData\Local\GitHub\PortableGit_xxx\cmd\git.exe add .
C:\Users\admin\AppData\Local\GitHub\PortableGit_xxx\cmd\git.exe commit -m “first commit”
C:\Users\admin\AppData\Local\GitHub\PortableGit_xxx\cmd\git.exe remote add originhttps://github.com/shdhumale/AndroidFragment.git
C:\Users\admin\AppData\Local\GitHub\PortableGit_xxx\cmd\git.exe push -u origin master

No comments: