Creating and cloning repo
Go to : https://github.com/new and create new repo
Check -> Initialize this repository with a README
and Click "Create Repository"
It will redirect to the main page of the created repository.
On the top right side, click "Clone or Download" and copy the URL.
Open Git Bash and change the path to where your project is.
ex) /c/testtest/firstProject
type -> git clone copiedURL
type -> git status
type -> git add *
type -> git status
type -> git commit -m "first commit"
-------------------------------------------------------------------- commit to local history
type -> git push
Comments
Post a Comment