Normally we do self depoyment to WordPress, we usually do it through FTP – download the ZIP file of WordPress, uncompress it on your own device and then upload the whole content under the folder to the remote server via FTP. The question is – can we still do a self deployment of WordPress without […]
As we know, iOS app needs to pass a maual review process of Apple before it is available to Apple App Store. It is a painful process – becuase of such many uncertainties. However, it could be even more painful if we just find an “exaccpetable” bug in your recently approved app, or you do […]
If you are using Amazon EC2, and probably you have encountered the following situation: ssh: connect to host [ip address] port 22: Connection refused Normally, you would have nothing to do about it, since “having SSH connection” is your only way to get touch with the Amazon EC2 instance and its running system. So, the […]
Note: It should be working on Xcode 4.5.1 and later. Usually when you install Xcode or upgrade Xcode from an old version, the Xcode only include one version of the iOS SDK. Sometimes, it is not that convenient especailly when your code is not ready for the lastest iOS version. For exanple, Xcode 5 conveys […]
How to Manually Symbolicate an iOS Crash Log Updated with Xcode 6 (2015-02-19) The command “symbolicatecrash” (included in Xcode) is used to symbolicare the iOS crash log. Here is the calling structure of symbolicatecrash command: symbolicatecrash crash_log dSYM_file [> output.file] The following way is also working: symbolicatecrash -o output_file crash_log dSYM_file Both of the commands […]
What is Git?
Git is a Distributed Version Control System (DVCS) written in the programming language C. Comparing to a normal Central Version Control System (CVCS), a DVCS does not have any central server which stores the data. Every local copy contains the full history of the source code.
Local and Remote Repository
In a DVCS, everyone has a complete copy of the source code (including the complete history of the source code) and can perform version control operations against this local copy. The use of a dvcs does not require a central code repository.
Git commits file changes to your local repository and you can synchronize your repository with other (remote) repositories. Git allows you to clone repositories, e.g. create an exact copy of a repository including the complete history of the source code. Owners of repositories can synchronize changes via push (transferring changes to a remote repository) or pull (getting changes from a remote repository).
Branching and Merging
Git supports branching, e.g. you can have different versions of your source code. If you want to develop a new feature, you may open a branch in your source code and make the changes in this branch without affecting the main line of your code.
Branches in Git can be local. A branch created in a repository which was cloned from another repository does not need to have a counterpart in the remote repository.
Git allows to merge changes from different branches. For example you may have a branch called master which contains the source code which you use to build your product which is delivered to your customers. You use another branch called feature_123 to finalize a certain feature and then use the Git merge command to bring the changes into your master branch.
There are several good places that can help you learn how to us Git.
- Learning tools by Github – Try Git
- Git documentation – Git Docs
- Decent Git introduction video – Power Your Workflow With Git
On March 21, 2013, Apple added an announcement to notify all iOS developers that “using UDID inside the app would no longer be approved by Apple App Store starting from May 1st, 2013”. Starting May 1, the App Store will no longer accept new apps or app updates that access UDIDs. Please update your apps […]