Git的使用

来源:互联网 发布:js文件代码的执行顺序 编辑:程序博客网 时间:2024/05/18 00:22

1: .gitignore的配置

target

.settings
.classpath

*.bak


2: git的使用: 

http://git.oschina.net/progit/


3:git flow的使用

http://danielkummer.github.io/git-flow-cheatsheet/index.zh_CN.html


4:文件名(全路径的文件名)

     git add 文件名

     git commit -m ''描述"

     git status

     git diff

     git checkout '分支'

     git push

     git pull

     git checkout head 文件名(未提交)

     git revert --no-commit head 文件名 (已经提交)

     git config --global credential.helper store 

     git merge -no-ff 分支名称 (合并分支)



0 0
原创粉丝点击