Skip to content

Instantly share code, notes, and snippets.

View WilbertOnGithub's full-sized avatar

Wilbert van Dolleweerd WilbertOnGithub

View GitHub Profile
@WilbertOnGithub
WilbertOnGithub / gist:4030136
Created November 7, 2012 08:11
git tf log file
2012-11-07 09:08:37,338 INFO [main] (com.microsoft.tfs.jni.loader.NativeLoader) Loaded C:\Program Files (x86)\git-tf-2.0.0.20121030\native\win32\x86\native_auth.dll from user-specified directory
2012-11-07 09:08:37,461 INFO [main] (com.microsoft.tfs.core.config.httpclient.DefaultHTTPClientFactory) HttpClient configured for https://tfs.codeplex.com:443/tfs/TFS08, authenticating as logged in user, proxy=proxy.dev.ict.nl:80
2012-11-07 09:08:37,712 WARN [main] (com.microsoft.tfs.core.TFSTeamProjectCollection) Error getting data provider
com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint https://tfs.codeplex.com/tfs/TFS08/Services/v1.0/Registration.asmx could not be contacted. HTTP status: 405
at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:99)
at com.microsoft.tfs.core.exceptions.mappers.RegistrationExceptionMapper.map(RegistrationExceptionMapper.java:23)
at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(Registr
@WilbertOnGithub
WilbertOnGithub / gitconfig.cmd
Created April 17, 2012 08:43
Configure Git with P4Merge (Windows settings)
git config --global merge.tool p4merge
git config --global mergetool.p4merge.cmd "p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\""
git config --global diff.tool p4merge
git config --global difftool.p4merge.cmd "p4merge.exe \"$LOCAL\" \"$REMOTE\""
git config --global mergetool.keepBackup false
git config --global mergetool.trustExitcode false
git config --global difftool.prompt false
@WilbertOnGithub
WilbertOnGithub / postgitsvn.ps1
Created March 20, 2012 15:33
Cleans up git repositories that have been imported with 'git svn clone'
# Script that cleans up an entire directory with Git repositories
# that have been imported from Subversion using the 'git svn clone'
# command.
# It does the following:
# - Recurses through all subdirectory in the directory you specify.
# For each git repository in a subdirectory:
# - Parses all tags from the remote branches and creates explicit
# git tags.
# - Parses all other remote branches and creates local branches