Skip to content

Commit

Permalink
[Fix sorin-ionescu#357] Set alias gcO to check out hunks interactively
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Jan 3, 2013
1 parent 93b70c7 commit 7b9a5a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/git/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Aliases
- `gca` stages all modified and deleted files.
- `gcm` records changes to the repository with the given message.
- `gco` checks out a branch or paths to work tree.
- `gcO` checks out paths to work tree using the *HEAD* commit.
- `gcO` checks out hunks from the index or the tree interactively.
- `gcf` amends the tip of the current branch using the same log message as
*HEAD*.
- `gcF` amends the tip of the current branch.
Expand Down
2 changes: 1 addition & 1 deletion modules/git/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ alias gc='git commit'
alias gca='git commit --all'
alias gcm='git commit --message'
alias gco='git checkout'
alias gcO='git checkout HEAD --'
alias gcO='git checkout --patch'
alias gcf='git commit --amend --reuse-message HEAD'
alias gcF='git commit --amend'
alias gcp='git cherry-pick --ff'
Expand Down

0 comments on commit 7b9a5a0

Please sign in to comment.