Git edit


There are two ways of creating aliases in Git.

Define aliases in ~/.gitconfig file:

    ci = commit
    st = status
    co = checkout

Use git config:

git config --global "commit"
git config --global "status"
git config --global "checkout"

After the alias is created you can use:

As with regular git commands, aliases can be used beside arguments. For example:

git ci -m "Commit message..."
git co -b feature-42

Feedback about page:

Optional: your email if you want me to get back to you:

  ↑ ↓ to navigate     ↵ to select     Esc to close