Swift Project initialization and addition of ignore file Swift.ignore

Source: Internet
Author: User

1 go to GitHub first. Download the latest ignored files download Https://github.com/github/gitignore

2 and then find Swift.gitignore put the inside of the pod in front of the # Delete and then save

3 Create a new project on the code cloud and clone the project to a local

git clone [email protected]:* *******

Put the missing file in the cloned project, go in. cd Current project and enter command

MV Swift.gitignore. Gitinore Hide Ignore file

/*

Defaults write Com.apple.Finder appleshowallfiles Yes && killall Finder//Show hidden files

Defaults write Com.apple.Finder appleshowallfiles no && killall Finder//Do not show hidden files

*/

Then create a swift project in the current project to ignore the file and project submission code on the cloud

git Add.

Git commit-m "Initialize project more than add Swift Ignore file"

git push

So the project is initialized.

Swift Project initialization and addition of ignore file Swift.ignore

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.