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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:58:35+00:00 2026-05-29T23:58:35+00:00

I have created a iPhone project with option Create local git repository for this

  • 0

I have created a iPhone project with option “Create local git repository for this project” enabled. Recently I created a github account. Now I want to directly commit my code to github, not to my local repository. How could I do this?

  • 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-29T23:58:39+00:00Added an answer on May 29, 2026 at 11:58 pm

    Pushing code using XCode always gives problem to me .So best option is to push code using terminal. below are the steps to push code to git hub.

    1. open terminal set path to the project folder.

    2. check for modified or new file using command git commit –dry-run . It will show you all the modified or newly added file .also some Xcode file.

    3. add new files and modified files using git command git add “file1 path” “file2 path” .also don’t forget to add .proj file if u have added new file or changed Xcode setting.

    4. commit your file using command git commit. it will open message window. so you can enter message by pressing i. once you have written message press :wq

    5. run command git push origin HEAD.

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

Sidebar

Related Questions

I have created an iPhone application based on an OpenGL view. Now I would
I have been working on an iPhone project, where we created all the user
In my current iPhone project, I have a created a dictionary that groups the
I have created a windows based project in XCode using IPhone as target platform
I have created a screen using Objective-C in an iPhone project. In that, there
I have created a new iPhone project in Xcode 4 and added some files
I have created a Mac app that can generate iphone ebook app project source
I have created iphone project. I want to test it on my iphone. I
I am new to iphone development.I have created map applications and displayed the cuurent
I am new to iphone development.I have created a UIview controller class and added

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.