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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:58:23+00:00 2026-06-15T11:58:23+00:00

I have a android project, I am working on and it, currently does not

  • 0

I have a android project, I am working on and it, currently does not reside on a source control of any type.

I have created my own github account and created a repository there and now i want to commit and push my android project into that repo.

how do i do that?

I have tried doinga git checkout and it doesnt work and says that the project is not a git repo.

fatal: Not a git repository (or any of the parent directories): .git

Any suggestions?

  • 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-06-15T11:58:24+00:00Added an answer on June 15, 2026 at 11:58 am

    You need a local git repository you can sync first.
    Enter your base source folder and type:

    git init
    

    This initializes a new git repository. Then you need to commit your code.

    git add *
    git commit -m "Initial commit"
    

    Now you can sync it. For this you have to add a remote repository to your local repository.
    https://help.github.com/articles/adding-a-remote

    git remote add origin https://github.com/user/repo.git
    

    Once you have done that, you can push your local files with:

    git push origin master
    

    Where origin is the name of the remote repository and master the name of the branch.

    Ps.: You’ll also have to sync the SSH keys for this to work.
    https://help.github.com/articles/generating-ssh-keys

    Edit: If you are not sure what that means, head directly to the Github bootcamp:
    https://help.github.com/categories/54/articles

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

Sidebar

Related Questions

I am currently working on android project where I want to have a text
I am currently working on an android project and I have an activity, lets
I am currently working on an android project. I am trying to have an
I am currently working on an Android project where I'd have to use maven.
I am currently working on an android project where I want to have the
I'm currently working on an Android project, where I have to collect data from
I am currently working on an android project and I have an activity that
I am currently working on android project, and I am not sure if I
I have an Android project in eclipse IDE which was working. After some imports
While working on an AppEngine connected Android project, I occasionally have problems with RequestFactory

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.