Adapting for Ethereum as a library style:

+ .ignore adjusting
 + track/untrack script adjusting
This commit is contained in:
romanman 2014-09-06 12:04:53 +03:00
parent bfed03e0c0
commit 92fe4bae0e
3 changed files with 22 additions and 20 deletions

10
.gitignore vendored
View File

@ -26,10 +26,12 @@ target/
*.ear
# Output #
/logs
/dmp
/database
/null
*/logs
*/dmp
*/database
*/null
*/gen
*/src/main/java/sample
# Mac
.DS_Store

View File

@ -15,21 +15,21 @@ goto :end
rem # I use this to stop push every local propertie change
:untrackProps
@echo on
git update-index --assume-unchanged src/main/resources/log4j.properties
git update-index --assume-unchanged src/main/resources/system.properties
git update-index --assume-unchanged ./src/main/resources/log4j.properties
git update-index --assume-unchanged ./src/main/resources/system.properties
git update-index --assume-unchanged src/test/resources/log4j.properties
git update-index --assume-unchanged src/test/resources/system.properties
git update-index --assume-unchanged ./src/test/resources/log4j.properties
git update-index --assume-unchanged ./src/test/resources/system.properties
goto end
rem # If I want to get back to push this changes e.g. for some new propertie I run this
:trackProps
@echo on
git update-index --no-assume-unchanged src/main/resources/log4j.properties
git update-index --no-assume-unchanged src/main/resources/system.properties
git update-index --no-assume-unchanged ./src/main/resources/log4j.properties
git update-index --no-assume-unchanged ./src/main/resources/system.properties
git update-index --no-assume-unchanged src/test/resources/log4j.properties
git update-index --no-assume-unchanged src/test/resources/system.properties
git update-index --no-assume-unchanged ./src/test/resources/log4j.properties
git update-index --no-assume-unchanged ./src/test/resources/system.properties
goto end
:end

View File

@ -15,21 +15,21 @@ goto :end
rem # I use this to stop push every local propertie change
:untrackProps
@echo on
git update-index --assume-unchanged src/main/resources/log4j.properties
git update-index --assume-unchanged src/main/resources/system.properties
git update-index --assume-unchanged ./src/main/resources/log4j.properties
git update-index --assume-unchanged ./src/main/resources/system.properties
git update-index --assume-unchanged src/test/resources/log4j.properties
git update-index --assume-unchanged src/test/resources/system.properties
git update-index --assume-unchanged ./src/test/resources/log4j.properties
git update-index --assume-unchanged ./src/test/resources/system.properties
goto end
rem # If I want to get back to push this changes e.g. for some new propertie I run this
:trackProps
@echo on
git update-index --no-assume-unchanged src/main/resources/log4j.properties
git update-index --no-assume-unchanged src/main/resources/system.properties
git update-index --no-assume-unchanged ./src/main/resources/log4j.properties
git update-index --no-assume-unchanged ./src/main/resources/system.properties
git update-index --no-assume-unchanged src/test/resources/log4j.properties
git update-index --no-assume-unchanged src/test/resources/system.properties
git update-index --no-assume-unchanged ./src/test/resources/log4j.properties
git update-index --no-assume-unchanged ./src/test/resources/system.properties
goto end
:end