10.1 GIT : Install GIT and push project to GitHub Repository
##########################################################################
Step1 : Create HigHub account
Create repository
Step2 : Install msysGIT
Open GIT Bash and push project using below commands
----------------------------------------------------------------
git init (intialize)
git add . (add for staging)
git status (check status)
git commit -m 'first commit' (move to local repository)
git remote add origin git@github.com:pavankumarmadhu123/NodeJSDemos.git (add to remote repository)
git push origin master (push to master)
//If public key access issue comes then we have to do below things.
ssh-keygen
- enter all 3 below (for default setting)
- go to C:/Users/pamr/.ssh/id_rsa -> copy entire thing
- go to git Settings -> SSH and GPG keys
- Add SSH key
windows-key
copy paster entier thing
----------------------------------------------------------------
St3p3: If new machin needs to download, then use below command to download and work on it
----------------------------------------------------------------
git clone git@github.com:pavankumarmadhu123/NodeJSDemos.git (to download from gitHub)
----------------------------------------------------------------
#########################################################################
Step1: Create GitHub account:
username : pavan*****
password : **********
https://github.com
Create Repository
Step2: Installing msysGit – Git for Windows
Followed Article: http://www.almguide.com/2014/12/installing-msysgit-git-for-windows/
https://gitforwindows.org/








No comments:
Post a Comment