- 一个Commit对应一个修改点(除非是在项目初始阶段或是升级BSP时)。
- 不要随便修改文件的属性。Windows 修改过的文件属性会变成755,上传代码时请注意修改成文件的原属性,可以用git whatchanged 来查看自己commit修改的文件。 缩进格式跟原文件保持一致。
- 不要修改跟提交内容无关的代码。
- 设置GIT使用vim来编辑commit,请不要使用-m参数 (git config –global core.editor vim)。
# defaults for jenkins continuous integration server | |
JENKINS_ARGS="-jnlpUrl http://test.lnc.jp:8080/computer/wock/slave-agent.jnlp" | |
# jenkins home location | |
JENKINS_HOME=/opt/jenkins-slave | |
# location of the jenkins war file | |
JENKINS_WAR=$JENKINS_HOME/slave.jar | |
# pulled in from the init script; makes things easier. | |
NAME=jenkins |
From 8ab91751069e391a95151c6716a546b1732ade92 Mon Sep 17 00:00:00 2001 | |
From: JP <twitter:canoeberry> | |
Date: Sun, 19 Jan 2014 11:58:54 +0000 | |
Subject: [PATCH] partial memleak fix | |
This patch was created by JP (twitter: @canoeberry) based on a memleak fix by Dirk (emacs committer) below: | |
https://github.com/mirrors/emacs/commit/57ae6509a3b6a274f89b9caea0284c6156470625 | |
This memory leak is fixed in the trunk as of now and will be in the next official release: 24.4. |
postgresql: | |
image: sameersbn/postgresql:9.4 | |
volumes: | |
- ./postgresql-data:/var/lib/postgresql | |
environment: | |
- DB_USER=gitlab | |
- DB_PASS=secretpassword | |
- DB_NAME=gitlabhq_production | |
gitlab: | |
image: sameersbn/gitlab:7.10.0 |
<settings> | |
<mirrors> | |
<mirror> | |
<!--This sends everything else to /public --> | |
<id>nexus</id> | |
<mirrorOf>*</mirrorOf> | |
<url>http://nexus.adxage.local:8381/nexus/content/groups/public</url> | |
</mirror> | |
</mirrors> | |
<profiles> |
allprojects { | |
buildscript { | |
repositories { | |
mavenLocal() | |
maven { url 'http://localhost:8081/nexus/content/groups/public' } | |
jcenter() | |
maven { url 'http://repo.spring.io/plugins-release' } | |
maven { url 'http://repo.spring.io/milestone' } | |
maven { url "https://plugins.gradle.org/m2/" } | |
} |
# EditorConfig helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
# Change these settings to your own preference | |
indent_style = space |
#!/bin/bash | |
# | |
# . ____ _ __ _ _ | |
# /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
# ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
# \\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
# ' |____| .__|_| |_|_| |_\__, | / / / / | |
# =========|_|==============|___/=/_/_/_/ | |
# :: Spring Boot Startup Script :: | |
# |
#!/bin/bash | |
# | |
# . ____ _ __ _ _ | |
# /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
# ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
# \\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
# ' |____| .__|_| |_|_| |_\__, | / / / / | |
# =========|_|==============|___/=/_/_/_/ | |
# :: Spring Boot Startup Script :: | |
# |
#!/bin/bash | |
# This has to be run from master | |
git checkout master | |
# Update our list of remotes | |
git fetch | |
git remote prune origin | |
# Remove local fully merged branches |