Fix branch name

This commit is contained in:
Fedor Korotkiy 2020-02-01 04:02:12 +03:00
parent 0521e63f80
commit 6a3bc49595

View file

@ -45,7 +45,7 @@ func exportCode(cmd *cobra.Command, args []string) {
if _, err := io.ReadFull(rand.Reader, random); err != nil {
log.Fatal(err)
}
tmpBranch := "temp/" + hex.EncodeToString(random)
tmpBranch := "temp_" + hex.EncodeToString(random)
git("checkout", "-b", tmpBranch)
git("reset", "public")