2012年2月10日星期五

git流程



--------------------------------------
pg_start [(brand name)::(country)]
pgg show-push (list push status )

1. git checkout [master]
2. git pull
3. pgg branch   ( create branch )
4. git branch   (list of local branch)
5. modifty files
6. git status   (list of modify files)
7. git diff [filename] check differnce
8. git add [filename]
9. git commit -m  "some comment" ([path and file name])
[the frist time setting gobal var
  git config --global user name
  git config --globle user email
]
   git stash save "updated"
10.git status
11.git push
11.pgg push [branch names] [env]
   the same git checkout env-all-eng
            git pull
12.sudo pull to push to dev
13 QA verifty after push to other env and master
14 push to stage
15 stage push live

没有评论:

发表评论

上海松善实业有限公司

    上海松善实业有限公司是一家集多品牌销售于一体的电线电缆骨干企业,公司成立于2016年。 公司拥有国内各大品牌:起帆、远东、上上、江南、胜华等。     主要产品有:高低压电力电缆、橡套电缆、控制电缆、架空绝缘电缆、塑胶电缆、电子计算机电缆、通讯电缆、...