Git Commands
Published:
Last modified:
Commands
Git Config
$ git config --list
Git config username and email for all repos
$ git config --global user.name "John Doe"
$ git config --global user.email "your_email@example.com"
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]
comments powered by Disqus
- Git Commands
Articles
Except as otherwise noted, the content of this page is licensed under CC BY-NC-ND 4.0 . Terms and Policy.
Powered by SimpleIT Hugo Theme
·