aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-12-06 10:55:55 -0500
committerTeddy Wing2014-12-06 10:55:55 -0500
commitc32a3d476a5c5a45fc9d9af45b7393d6f9cc1db0 (patch)
tree0bcd5a8c64363cd2a82074b2959b4df4b0b36a57
downloadgit-checkout-history-c32a3d476a5c5a45fc9d9af45b7393d6f9cc1db0.tar.bz2
Initial commit.
* Start of README with an idea for the commands * Code to grab command line arguments with help from gobyexample.com
-rw-r--r--README.md8
-rw-r--r--git-checkout-history/main.go0
-rw-r--r--git-checkout-store/main.go13
3 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e0eb597
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+git-checkout-history
+====================
+
+
+
+
+ $ git checkout-save a-branch-name
+ $ git checkout-history
diff --git a/git-checkout-history/main.go b/git-checkout-history/main.go
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/git-checkout-history/main.go
diff --git a/git-checkout-store/main.go b/git-checkout-store/main.go
new file mode 100644
index 0000000..d02f8ad
--- /dev/null
+++ b/git-checkout-store/main.go
@@ -0,0 +1,13 @@
+package main
+
+
+import (
+ "os"
+ "fmt"
+)
+
+
+func main() {
+ args := os.Args[1:]
+ fmt.Println(args)
+}