brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rich...@apache.org
Subject [6/7] brooklyn-docs git commit: add alias for printing all issues and reverting back to master
Date Tue, 09 Feb 2016 14:42:27 GMT
add alias for printing all issues and reverting back to master


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/6a4559bf
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/6a4559bf
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/6a4559bf

Branch: refs/heads/master
Commit: 6a4559bf7d30b6535a4f20881d31eff3ea98189e
Parents: 92721a7
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Tue Feb 9 10:15:26 2016 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Tue Feb 9 10:20:55 2016 +0000

----------------------------------------------------------------------
 website/developers/code/git-more.md | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/6a4559bf/website/developers/code/git-more.md
----------------------------------------------------------------------
diff --git a/website/developers/code/git-more.md b/website/developers/code/git-more.md
index c3e634b..5be1fc3 100644
--- a/website/developers/code/git-more.md
+++ b/website/developers/code/git-more.md
@@ -214,9 +214,16 @@ elsewhere on this page.
 This sets up variants of `pull`, `diff`, and `push` -- called `sup`, `sdiff`, and `spush`
-- which act across submodules:
 
 {% highlight bash %}
+# update all modules
 git config --global alias.sup '!git pull && git submodule update --remote --merge
--recursive'
+# show diffs across all modules
 git config --global alias.sdiff '!git diff && git submodule foreach "git diff"'
+# return to master in all modules
+git config --global alias.smaster '!git checkout master && echo && git submodule
foreach "git checkout master && echo"'
+# push in all modules
 git config --global alias.spush '!git push && git submodule foreach "git push"'
+# show issues in all projects (only works if upstream configured properly for current branch)
+git config --global alias.si '!hub issue && git submodule foreach "hub issue"'
 {% endhighlight %}
 
 


Mime
View raw message