Git Commands

  • Published: June 24, 2016


  • Git Config $ git config --list

  • Git config username and email for all repos

    $ git config --global "John Doe"

    $ git config --global ""

  • Initialize a repository. Creates a new subdirectory named .git that contains all of your necessary repository files. $ git init .

  • Get a copy of an existing Git repo. $ git clone [url]

Marcelo Canina
I'm Marcelo Canina, a developer from Uruguay. I build websites and web-based applications from the ground up and share what I learn here.
comments powered by Disqus
Except as otherwise noted, the content of this page is licensed under CC BY-NC-ND 4.0 ·