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 6711495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:08:48+00:00 2026-05-26T08:08:48+00:00

I am a git newbie. I just created a new project with just 4

  • 0

I am a git newbie. I just created a new project with just 4 new files test1 test2 test3 test4. Then all I did are the following:

$ git init
$ git add .
$ git commit -m "VERY 1st commit"

as simple as that.

then i added a remote repo is also an entirely new repo i just created in bitbucket.org

$ git remote add rakspace http://syedrakib@bitbucket.org/syedrakib/mysamplegit
$ git push rakspace

as you can tell it’s entirely new workspace being pushed into an entirely new repo. it returns this:

Everything up-to-date

what is it i am doing wrong here? Clearly the source files of the remote repo are NOT getting updated.

EDIT: I have got 2 branches in my local repo: *master* and *new_branch*

  • 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-26T08:08:49+00:00Added an answer on May 26, 2026 at 8:08 am

    The default behavior of git push is to push “matching” branches. That means any branches on your side that have a branch named the same thing on the other side get pushed. In a brand new repository, there are no branches. Therefore no branches match. You can cause a branch with a name matching your branch to be created on the remote using git push <remote name> <branch name>. In your case: git push rakspace master

    You can find out about and change the push settings by looking for push.default in the git config documentation.

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

Sidebar

Related Questions

I am just started using Git, so I apologize if it is a newbie
I'm a Git newbie. I recently moved a Rails project from Subversion to Git.
I've just installed git on my production server and added all my production code
I have a git project at Google Code. https://code.google.com/p/jawabot/ I did some commits to
I am a python/django newbie following along this tutorial on dotcloud . I git
I am newbie with git. It tried this tutorial, but after the command, i
newbie for clearcase. Since clearcase's config is rather different from other concept in git,
Git says to use git add to add untracked files to my repo. I
Git newbie here. I am probably making a simple mistake here, but I can't
GitHub Users, I am newbie on github and have some issue with git setup.

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.