9 lines
222 B
Bash
Executable File
9 lines
222 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "Fetch with unshallow..."
|
|
git fetch --unshallow
|
|
|
|
echo "Fix origin fetch config."
|
|
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
|
|
|
|
echo "Now pull and checkout remote branches." |