git user guide
来源:互联网 发布:php jwt token 编辑:程序博客网 时间:2024/06/17 15:53
1. git configuration in ".gitconfig":
[user] name = Haibing.Yang email = yanghb41@gmail.com[color] ui = auto[commit] template = /home/xxx/.commit_template[remote "kernel"] url = ssh://yang.haibing@10.0.64.28:29418/kernel/common receivepack = git receive-pack --reviewer=yanghb41@gmail.com --cc=yanghb41@gmail.com[remote "u-boot"] url = ssh://yang.haibing@10.0.64.28:29418/u-boot receivepack = git receive-pack --reviewer=yanghb41@gmail.com --cc=yanghb41@gmail.com[core] editor = vim
git commit:
git commit -a -s -e
2. how to solve conflict
#git remote -vkernel ssh://haibing.yang@10.0.64.28:29418/kernel/common (fetch)
kernel ssh://haibing.yang@10.0.64.28:29418/kernel/common (push)
korg gitadmin@gitsrv01.spreadtrum.com:android/kernel/common (fetch)
korg gitadmin@gitsrv01.spreadtrum.com:android/kernel/common (push)
u-boot ssh://haibing.yang@10.0.64.28:29418/u-boot (fetch)
u-boot ssh://haibing.yang@10.0.64.28:29418/u-boot (push)
# git fetch korg# git rebase korg/sprdlinux3.10If conflict happens, first, modify the conflict, then do the following:# git add [conflicted files]# git rebase --continue# git push xxx HEAD:refs/for/branch
First, rewinding head to replay your work on top of it...Fast-forwarded HEAD to korg/sprduboot.
If you encounter the above error, issue the following command
# git rebase masterThen issue
# git rebase korg/sprduboot
0 0
- Git User guide
- git user guide
- git user guide
- git user guide
- Git User Guide
- user guide
- user guide
- Git guide
- git guide
- GCC User Guide
- commons-fileupload user guide
- proxool user guide
- ubuntu user guide
- Auto Test User Guide
- Axis2 User's Guide
- EJBCA User Guide
- Sharepoint User's Guide
- Phpeclipse: A User Guide
- linux-- apache开启错误
- 人生如梦
- 长连接
- new和delete运算符
- 用bmfont创建中文字库
- git user guide
- Oracle索引
- TimePicker & OnTimeChangedListener
- 借用OpenOffice将上传的Word文档转换成Html格式
- 使用json所需要的包
- 刘炽平:与京东合作将扩大公司电商领域影响力
- A. Inna and Choose Options
- UVa 10152 - ShellSort 龟壳排序
- Executor framework的机制