So I have files stores in a GIT repository. Now I usually do a git pull
to get the latest revisions. Since the path to the file I wish to get is basically a URL like: https://github.com/.../myfile.extention, is there a way I can get the file in Objective C?
I know how to get data from a url using NSURL and NSURLRequest, but i'm not sure of the following: 1. GET ? or POST? 2. How do i authenticate?
I've searched on Google but gotten mostly results that give me some sort of frame work. Is there any way to do this in the simplest way without some extra framework?
Update:
Some below have suggested I use the Git.Framework, but they do not as yet support remote pushing and pulling as seen below.
Does any one know how to pull and push a file from objective c code?