Actions

EmSys

Git - Putting the Repository on the Server

From EdWiki

Git - Putting the Repository on the Server

  1. Generate SSH public Key of your computer
  2. Send the created SSH public key (id_rsa.pub) to the Git Server admin.
    Please e-mail the SSH public key (id_rsa.pub) file to haresh@cedt.iisc.ernet.in OR jshankar@cedt.iisc.ernet.in.
  3. Create a new bare repository
    Ask your Git Server admin to create a bare repository every time you want to add a project.
  4. Adding Remote Repository
    • Now, create a new project of the same name created on the Git Server on your computer.
    • Use git remote add command to add a new Remote Git repository
    • Use git remote push command to push it onto the Server.
    • Now, you are ready to work with your Remote Git Server.