Github Introduction

472

Github tutorial

Github is distributed version control system
Khái niệm:
 + Git object model
 + Master branch, Second branch –> Current branch?
 + Head is a reference to current branch
 + new commit, checkout
 + branching
Rebase vs Merge
Git cheat sheet

git config –list
vi ~/.gitconfig
vimdiff file1 file2
vim -d file1 file2
sdiff -s file1 file2
colordiff

[pdfviewer beta=”true/false”]http://yen.ypworks.vn/wp-content/uploads/2016/10/github-git-cheat-sheet.pdf[/pdfviewer]
Git SYN
1. git remote

 

2. git fetch
3.
4. git push

 

5.
Tutorial. Giteveryday
Standalone:

 

Team

git branch –set-upstream-to=origin/<branch> yen-igaw-patch-1

git fetch –prune

git reset –hard HEAD

Group

Git stash: Save temporally changes for later use
SHARE
Previous articleVisa F2-3
Next articleProtected: SQL Anti Pattern