Last active
September 11, 2015 15:19
-
-
Save afalchi82/5f569373c311ae1fc0ce to your computer and use it in GitHub Desktop.
Git common operations summary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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