Fix branch name
This commit is contained in:
parent
0521e63f80
commit
6a3bc49595
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ func exportCode(cmd *cobra.Command, args []string) {
|
||||||
if _, err := io.ReadFull(rand.Reader, random); err != nil {
|
if _, err := io.ReadFull(rand.Reader, random); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
tmpBranch := "temp/" + hex.EncodeToString(random)
|
tmpBranch := "temp_" + hex.EncodeToString(random)
|
||||||
|
|
||||||
git("checkout", "-b", tmpBranch)
|
git("checkout", "-b", tmpBranch)
|
||||||
git("reset", "public")
|
git("reset", "public")
|
||||||
|
|
Loading…
Reference in a new issue