Git 111
Git 111
Git hub
Its website to upload your repository online
Provide backup provides visual interface to your repo
Make collaboration easier
Gitand github not related to each other with git we can use
github orbitbucket
Go to browser type git
Git hub
Its website to upload your repository online
Provide backup provides visual interface to your repo
Make collaboration easier
Git and github not related to each other withgit we can use
githubotbitbucket
Steps
Check git already installed or not,open command prompt entre git --
version
Download and install git>>open google entre git
How to check git installed or not
Once installed
1. Go to the folder and right click on that folder >>select git
bash here >>the use >>gitinit command
The add file to git by using command >>git add shri.txt and check
status by using command git status
The do commit by using command >>git commit –m”add message in
this double inverted comma ”
Push the code in remote repository (github ) by using command
git remote add origin https://github.com/shrinivasmac/IBM-Project-
Repo.git
git remote add origin>>>command
https://github.com/shrinivasmac/IBM-Project-Repo.git >>git hub
repository location
pull commands
git pull origin master : This command used to pull the code from
remote repository to local repository
clone command
git clone https://github.com/shrinivasmac/IBM-Project.git :This
command used to copy the code from remote repository to local
repository