- Fetch更新Tracking分支,但是不会更新local/master和HEAD指向
git fetch
- Pull更新Tracking分支,同时更新local/master和HEAD指向
git pull [<resp>] [<branch>]
--ff (default)
--no-ff
--ff-only
--rebase [--preserve-merges]
- Push
git push [-u] [<repo>] [<branch>]
-u Track this branch
git push -u origin master