Created
May 21, 2014 02:26
-
-
Save jkhowland/a6a4da93883ec21b658b to your computer and use it in GitHub Desktop.
Git Commands
This file contains 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
- (NSArray *)gitCommands { | |
return @[@{Command: @"git status", Reference: @": shows changed files"}, | |
@{Command: @"git diff", Reference: @": shows actual changes"}, | |
@{Command: @"git add .", Reference: @": adds changed files to the commit"}, | |
@{Command: @"git commit -m \"notes\"", Reference: @": commits the changes"}, | |
@{Command: @"git push origin _branch_", Reference: @": pushes commits to branch named _branch_"}, | |
@{Command: @"git log", Reference: @": displays progress log"}, | |
@{Command: @"git comment --amend", Reference: @": re-enter last commit message"} | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
static NSString * const Command = @"command";
static NSString * const Reference = @"reference";