Skip to content

Instantly share code, notes, and snippets.

@tudormunteanu
Last active October 1, 2015 04:48
Show Gist options
  • Select an option

  • Save tudormunteanu/1923024 to your computer and use it in GitHub Desktop.

Select an option

Save tudormunteanu/1923024 to your computer and use it in GitHub Desktop.
git aliases and config commands [to be run in command line]
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.p push
git config --global alias.co checkout
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
git config --global color.ui true
git config --global merge.tool opendiff
@hdragomir
Copy link
Copy Markdown

Why not share your .gitconfig file?

@tudormunteanu
Copy link
Copy Markdown
Author

That's a separate topic. I want to have here mostly the command lines needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment