This is a template repository for new swift packages.
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
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
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