Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(889)

Unified Diff: docs/src/git-squash-branch.demo.1.sh

Issue 225433003: Add a basic tutorial for the tools in depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@git_map
Patch Set: pylint Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/src/git-squash-branch.txt ('k') | docs/src/make_docs.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/src/git-squash-branch.demo.1.sh
diff --git a/docs/src/git-squash-branch.demo.1.sh b/docs/src/git-squash-branch.demo.1.sh
new file mode 100755
index 0000000000000000000000000000000000000000..8d83a036d2f1586331a51ca8f489fa7d74476f78
--- /dev/null
+++ b/docs/src/git-squash-branch.demo.1.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+. demo_repo.sh
+
+run git map
+echo
+
+# since these are all empty commits, pretend there's something there
+pcommand git squash-branch -m "cool squash demo"
+git squash-branch -m "cool squash demo" > /dev/null 2> /dev/null
+c "cool squash demo"
+
+run git map
« no previous file with comments | « docs/src/git-squash-branch.txt ('k') | docs/src/make_docs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698