Lets create a github repo. so that we can store all our code safe in the repository and share the same across.
after the last step it will ask your github username and password. username will be email id normally
and you will get this message at the end
See the first step : (+) sign on top of right side.
Lets continue....
The repository url will be looks like this:
and you will get this message at the end
Now you can check the repository created in your account.
Clone a repository
If you wanted to clone the same repo somewhere else then you can follow the following step.
git clone <repo url>
Using git
This is a good resource to look into the git command - the link
git status
git add <file>
git commit -m "msg"
git push
git pull
No comments:
Post a Comment