Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.28 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.28 KB

JPA NOTE

JPA 常用映射方法整理,持续补充中...

运行测试 mvn clean test

Git提交到多个远程仓库

  • 编辑 vim .git/config 文件,添加[remote "all"]
  • 内容如下:
    [core]
    	repositoryformatversion = 0
    	filemode = true
    	bare = false
    	logallrefupdates = true
    	ignorecase = true
    	precomposeunicode = true
    --- 添加如下内容 起----	
    [remote "all"]
        url = git@git.oschina.net:eastseven/demo-jpa.git
        url = git@github.com:eastseven/demo-jpa.git
        url = git@git.coding.net:eastseven/demo-jpa.git
        url = ssh://git@gitlab.eastseven.cn:10022/eastseven/demo-jpa.git
    --- 添加如下内容 止----
    
  • 执行 git push all --all 即可一次同时push到多个git仓库

参考引用