To add a submodule, first move to the container directory, and type this.
git submodule add http://...
To sync the submodule working tree files to current branch'es current commit, type this.
git submodule update
| Quick trial. | |
| export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer | |
| export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
| export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk | |
| SWIFTCPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc | |
| SDKPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk | |
| OUTPUT_FILE_MAP_PATH=/Users/HHH/Library/Developer/Xcode/DerivedData/TestShellComponents-grlvlrksazfxqchfsqkhdbyqingh/Build/Intermediates/TestShellComponents.build/Debug-iphoneos/TestShellComponents.build/Objects-normal/arm64/TestShellComponents-OutputFileMap.json | |
| EMIT_MODULE_PATH=/Users/HHH/Library/Developer/Xcode/DerivedData/TestShellComponents-grlvlrksazfxqchfsqkhdbyqingh/Build/I |
| rsync -avhc --stats --progress <src> <dest> | |
| # archive | |
| # verbose | |
| # human readable | |
| # checksum by MD5. if you dont use this, rsync won't verify equality. | |
| # show overall stats | |
| # show progress of each files. |
| javascript:(function(){$(".card-short-id").removeClass("hide");$(".card-short-id").css("padding-right", "4px");$(".card-short-id").css("font-weight", "bold");})() |
| find . -name *.json | xargs sed -i -e 's/\"AAA\"/\"BBB\"/g' |
| // | |
| // FixedViewController.swift | |
| // Editor4 | |
| // | |
| // Created by Hoon H. on 2016/05/10. | |
| // Copyright © 2016 Eonil. All rights reserved. | |
| // | |
| import Foundation | |
| import AppKit |
| public class MulticastStation<Parameter>: MulticastChannel<Parameter> { | |
| public override init() { | |
| } | |
| public func cast(parameter: Parameter) { | |
| _cast(parameter) | |
| } | |
| public var onDidRegister: ((Callback)->())? { | |
| get { | |
| return _onDidRegister |
| class AAA { | |
| deinit { | |
| print("AAA deinit") | |
| callbackOnDeinit!(self) | |
| } | |
| var callbackOnDeinit: (AAA->())? | |
| } |
To add a submodule, first move to the container directory, and type this.
git submodule add http://...
To sync the submodule working tree files to current branch'es current commit, type this.
git submodule update