7 lines
111 B
Bash
7 lines
111 B
Bash
#!/bin/bash
|
|
|
|
git checkout $1
|
|
git branch -m $1 $2
|
|
git fetch
|
|
git branch --unset-upstream
|
|
git branch -u origin/$2
|