Saturday, August 27, 2016

18 Things You Should Know About GIT (From Basics to Advanced)

Here are the things every developer should know about GitHub:

===========================================
Basics:
1. Installing git
2. Configuring git
3. Creating a new repository (git init)
4. Checking the status (git status)
5. Staging (git add)
6. Commiting (git commit)

Remote Repositories:
1. Connecting to a remote repository (git remote add)
2. Uploading to a server (git push)
3. Cloning a repository (git clone)
4. Getting changes from a server (git pull)

Branches:
1. Creating new branches (git branch)
2. Switching branches (git checkout)
3. Merging branches (git merge)

Advanced:
1. Checking difference between commits
2. Reverting a file to a previous version
3. Fixing a commit
4. Resolving Merge Conflicts
5. Setting up .gitignore
===========================================
And here is the git cheat sheet for you:

It appears you don't have a PDF plugin for this browser. No biggie... you can click here to download the PDF file.

No comments:

Post a Comment