We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca515a commit ad09682Copy full SHA for ad09682
CHANGELOG.md
@@ -1,5 +1,8 @@
1
# Changelog
2
3
+## 0.6.2 - 30 May
4
+- fix checkout missing dir
5
+
6
## 0.6.1 - 30 May
7
- minimal checkout command
8
- some securiy updates
src/cmd_checkout.go
@@ -20,8 +20,9 @@ func cmdCheckout() *cli.Command {
20
},
21
Action: func(c *cli.Context) error {
22
23
- directory := c.Args().Get(1)
+ directory := c.Args().Get(0)
24
ref := c.String("ref")
25
+ Info("git checkout in dir %s", directory)
26
27
r, err := git.PlainOpen(directory)
28
CheckIfError(err)
0 commit comments