如何从Windows环境将Xcode项目添加到Github存储库 [英] How to Add Xcode project to Github repository from windows environment

查看:59
本文介绍了如何从Windows环境将Xcode项目添加到Github存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看到我的问题的标题后,您可能会想像这样的问题已经被问过了.但这不是重复的,请阅读以下内容.

After seeing title of my question you might think like this kind of question is already been asked before. However this is not duplicate, read below to know.

我正在开发IOS应用程序.每当我有时间时,每次使用图书馆的PC或朋友的MacBook在现有项目中进行开发或更改时,我都会进行处理,然后压缩该项目并将其上传到我的Google驱动器.

I am developing IOS application. Whenever I get time I work on that every time I use either library's PC or friend's MacBook to developing or making changes in my existing project and then I compress the project and upload it to my Google drive.

我想将我的Xcode项目添加到Github.我知道如何从MacBook做到这一点.我正在寻找从Windows环境推送我的Xcode项目的方法.由于我是可怜的家伙,目前买不起MacBook.

I would like to add my Xcode project to Github. I know how to do it from MacBook though. I am looking for way to push my Xcode project from windows environment. As I am poor fellow and can not afford MacBook at the moment.

如果有什么办法,我可以每次将我的项目从不同的MacBook推送到Github上的同一个仓库中.如前所述,我使用公共库在IOS应用程序上工作时,不可能每次都能够使用同一台Apple PC.

If is there any way I can push my project to same repo on Github from different MacBook every time. As I mentioned before I am using public library to work on my IOS app it is not possible that I can be able to use same Apple PC every time.

推荐答案

在Windows控制台中制作-

Make in windows console -

cd /path/to/my/repo
git remote add origin https://github.com/UserExample/ExampleProject
git push -u origin --all

这篇关于如何从Windows环境将Xcode项目添加到Github存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆