Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions git-fire
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ fire() {
git push --set-upstream "${remote}" "$(current_branch)" || true
done

if [[ $(git stash list) != '' ]]; then
for sha in $(git rev-list -g stash); do
git push origin "$sha":refs/heads/"$(current_branch $initial_branch)"-stash-"$sha"
done
fi
if [[ $(git stash list) != '' ]]; then
for sha in $(git rev-list -g stash); do
git push origin "$sha":refs/heads/"$(current_branch $initial_branch)"-stash-"$sha"
done
fi

printf "\n\nLeave building!\n"
}
Expand Down