Created
September 10, 2014 14:08
-
-
Save benjaminsnorris/f864e4e522c8c07bb47f to your computer and use it in GitHub Desktop.
GitReferenceDataFunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func myGitCommands() -> [String: String] { | |
var commands = [String: String]() | |
commands["git status"] = ": shows changed files" | |
commands["git diff"] = ": shows actual changes" | |
commands["git add"] = ": adds changed files to the commit" | |
commands["git commit -m\"notes\""] = ": commits the changes" | |
commands["git push origin _branch_"] = ": pushes commits to branch named _branch_" | |
commands["git log"] = ": displays progress log" | |
commands["git comment --amend"] = ": re-enter last commit message" | |
return commands | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment