This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Marc Herbert @ gmail.com | |
set -e | |
set -x | |
# git clone --depth "shallow cloning" can save continuous integration a | |
# lot of time. This demo shows how shallow cloning can turn a | |
# single-commit pull request into a pull request with 1 million commits! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# Prints all the git branch --set-upstream-to= commands that must be run | |
# after a remote changed the name of one of its branches. | |
# set -x | |
# default values, use environement to override |