Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6665651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:44:44+00:00 2026-05-26T02:44:44+00:00

I started using GitHub this weekend for a new personal project (we also use

  • 0

I started using GitHub this weekend for a new personal project (we also use git at work) and their tutorial has me do the following:

$ mkdir ~/Hello-World
$ cd ~/Hello-World
$ git init
$ touch README

Then after I add my initial commit I add the origin and then can just push:

$ git remote add origin git@github.com:username/Hello-World.git
$ git push origin master

Usually, I have to zip up a new repo, copy it to my server, and then perform a git clone --bare in order to start pushing to it. How is it that they are able to skip this step?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:44:45+00:00Added an answer on May 26, 2026 at 2:44 am

    The repo on GitHub is already a bare one, so you can start pushing directly.
    (As illustrated on “Setting up backup (mirror) repositories on GitHub“)

    More on bare repo in this “all about “bare” repos — what, why” documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using git with github. I followed their instructions and ran into
So I just started using Git and GitHub. It's still a steep climb, but
We started using Mercurial a several weeks ago. Most developers follow this workflow: work
I started using github on Ubuntu. I use PHP/MySQL. All my applications are in
I'm just getting started with Symfony. I'm using Git/github as a way of managing
I want to use Git and Github for the development of a project. But
I'm reading about using git as an svn client here: http://learn.github.com/p/git-svn.html That page suggests
I've started looking into using Knockout for my team's use; I've been very pleased
Alright, so I have started using Github to easily share my code, and to
I started a local git repository. Now, at this point, I want to publish

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.