Git and GitHub
reference:Version Control with Git
Git Basic
This part include git init, tracking changes, exploring history, commit changes and remove file in git repository.
|
|
GitIgnore
|
|
Remote Repository from GitHub
Working with Remote Repository
|
|
Collaborate with Other People
- Host: Settings -> Collaborators -> add username(partner)
- Partner: verify invitation
- Partner: start to work with the project(see codes below)
- Host:
git pull origin master
|
|
Pull Request
working with others in GitHub
- visit others’ repository which you want to work with
- fork it and you would see it in your own page
- git clone the one in your own page
- start to work(push and pull)
Work Flow in Git
working area{mars.txt} –add–>staging area{mars.txt}–commit–>repository