67:0a7e0a69a670
Anton Shestakov <engored@ya.ru>, Sun, 21 Dec 2014 17:15:55 +0800
git prompt session: demonstrate stash

next change 70:b2ed3aee8024
previous change 56:49435f917654

docs/prompt-session-git.sh

Permissions: -rw-r--r--

Other formats: Feeds:
#!/bin/false
# paste this into an interactive shell
git init -q gitrepo && cd gitrepo
echo 'a' > foo
git add foo
git commit -q -m 'a'
echo 'b' >> foo
git stash -q
git stash pop -q && git commit -q -a -m 'b'
git checkout -q HEAD@{1}
git checkout -q -b secret
echo 's' >> foo && git commit -q -a -m 's'
git merge master --strategy=ours --no-commit