📁
EdmundHee
  • Edmund's How to
  • Python
    • Virtual Environment
      • Setup for Windows
      • Setup for Mac
      • How to use VirtualEnvWrapper
  • Git
    • Setup Git Environment
      • Setup Git for Windows
      • Setup Git for Mac
    • Github's How-to
      • Create a repository
      • Repository Branch
      • Update Repository
  • AWS
    • EC2
      • [Raw] EC2 - Recovery Instance
  • Web Development
    • NodeJS
Powered by GitBook
On this page

Was this helpful?

  1. Git
  2. Github's How-to

Create a repository

Follow the steps below to create a repository in Github

  1. Once account creation is done, github will redirect you to dashboard.

  2. Click on the New button on the left panel.

  3. Fill up the name for your repository/project.

  4. Select Public / Private for your repository.

  5. Initialise this repository with a README ( recommend ).

  6. Select the programming language for .gitignore ( recommend ).

  7. Once the repository is created, the page will redirect you to the repository page.

  8. There is a link with the similar format below, copy the link.

https://github.com/<GITHUB USERNAME>/<REPOSITORY NAME>.git

Back to your workstation, open your command prompt / cmder / terminal. Run the following command the clone the repository from github.

git clone https://github.com/<GITHUB USERNAME>/<REPOSITORY NAME>.git

The github project will be created in your workstation, a master branch will be created once the github repository is initialised.

PreviousGithub's How-toNextRepository Branch

Last updated 5 years ago

Was this helpful?