Skip to content

amolplay/First-Repository

Repository files navigation

-------master branch activated....

#Git :-

1]Install git on local m/c

2]Create account on Git for free

======== Cloning an Existing Repository which is created already on Git manually:-

$ git clone https://github.com/amolplay/First-Repository.git

$cd First-Repository

$ ~/First-Repository$ git pull origin master -------above command merged all the updated data to Current working directory

========== Create a new repository on the command line touch README.md

git init

git add README.md

git commit -m "first commit"

git remote add origin https://github.com/amolplay/New-Repo.git

git push -u origin master

========== Push an existing repository from the command line git remote add origin https://github.com/amolplay/New-Repo.git git push -u origin master