Skip to content

Instantly share code, notes, and snippets.

@afalchi82
Last active September 11, 2015 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afalchi82/5f569373c311ae1fc0ce to your computer and use it in GitHub Desktop.
Save afalchi82/5f569373c311ae1fc0ce to your computer and use it in GitHub Desktop.
Git common operations summary
# Set your user name and email address
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
# Checking Your Settings
$ git config --list
# Clones a repository to your computer
# To grab a complete copy of another user's repository, use git clone like this:
$ git clone https://github.com/USERNAME/REPOSITORY.git
# Push to remote
$ git push origin master
---------------------------------
Fetching a remote
---------------------------------
https://help.github.com/articles/fetching-a-remote/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment