repo.or.cz
/
git-scripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip track checks for merge-commit.
[git-scripts.git]
/
git-svnup
blob
187bdf8fcc191118dc58d8eae8757e2ba6de4ee0
1
#!/bin/bash
2
3
if
[[
"$(git stash)"
==
"No local changes to save"
]];
then
4
NO_STASH
=
true
5
fi
6
git svn rebase
7
8
if
[[
"
$NO_STASH
"
!=
"true"
]];
then
9
git stash pop
10
fi