We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e6251 commit 98ef4c6Copy full SHA for 98ef4c6
git-retrack
@@ -10,5 +10,5 @@ if [ -n "$2" ]; then
10
git remote add -f $1 "$2" || echo But that\'s perfectly OK.
11
fi
12
13
-git config branch.$branch.remote "$1"
+git config branch.$branch.remote "${1:-origin}"
14
git config branch.$branch.merge "refs/heads/${3:-$branch}"
0 commit comments