Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.02 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.02 KB

This is a template repository for new swift packages.

Creating a new project based on this template

Invoke the clone script (zsh required):

git clone [email protected]:swiftuilib/new-component
cd new-component
./bin/clone My-View

Work on your project:

xed my-view

Git configuration

Optionally configure git with recommended settings by creating a conf/git/user file (git-ignored):

# conf/git/user
[user]
  signingkey = ABCDEF0123456789
  name = ghuser
  email = [email protected]

And include the recommended settings in the local repo config:

git init
git config include.path ../conf/git/shared

You can encrypt your user file as ghuser.gpg

 gpg --output conf/git/users/ghuser.gpg --encrypt --recipient ghuser conf/git/user

Commit and push changes

Finally add everything to git:

git checkout -b develop
git add -A
git commit -m "Initial commit"
git remote add origin [email protected]:swiftuilib/my-view
git push -u origin master