Steem Ruby Tutorial Code
Brought to you by:
krischik
#!/opt/local/bin/zsh ############################################################# {{{1 ########## # Copyright © 2019 Martin Krischik «krischik@users.sourceforge.net» ############################################################################# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or ENDIFFTNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see «http://www.gnu.org/licenses/». ############################################################# }}}1 ########## if test -z "${PROJECT_HOME}"; then source "${0:h}/Setup.command" fi setopt Err_Exit setopt No_XTrace if test ${#} -eq 1; then in_Branch="${1}" pushd "${PROJECT_HOME}" git submodule foreach git checkout "${in_Branch}" echo Betrete "." git checkout "${in_Branch}" popd else echo ' Git-Start-Feature Branch Branch Feature to checkout ' fi ############################################################## {{{1 ########## # vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab : # vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :