Created
August 18, 2010 03:25
-
-
Save dgw/533267 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem Copyright (C): 2010 Voyagerfan5761 | |
rem http://technobabbl.es/ | |
set USERPROFILE=%~dp0 | |
set HOMEDRIVE=%~d0 | |
set HOMEPATH=%~p0 | |
set HOME=%~dp0 | |
set HISTFILE=%USERPROFILE%.bash_history | |
rem set BASHRC=%USERPROFILE%.bashrc | |
git-bash.bat |
Sounds great! Glad you found a solution, since I haven't any chances to look
at this on a PC until Monday.
I was going to suggest `git svn` though. If you're just using basic SVN
operations, that should be more than enough. I even went and found a
tutorial on it:
http://www.viget.com/extend/effectively-using-git-with-subversion/
But hey, all's well that ends well, right?
…On Jul 28, 2011 7:22 PM, "r-a-y" < ***@***.***> wrote:
Hey dgw,
I don't like SVN either, but I need to push to a SVN repo on occasion and
I'm trying to run an automated script which uses SVN commands.
I've decided to try another portable setup. This time using a portable
bash script and adding whatever I need (SVN, Git) that way.
The awesome script I'm using is by @prabirshrestha:
http://blog.prabir.me/post/Portable-Bash-%28msys-mingw%29.aspx
From what I've tested so far, settings are self-contained automatically in
a subdirectory (/home/portable), which is great!
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/533267
Me again! Just wanted to update you on my progress.
Looks like the script by Prabir was just using a simple tweak in /etc/profile.
So I mirrored a few of his changes into /etc/profile et voila! SVN works fine.
If you're interested, another dev (@markashleybell) figured it out as well and detailed it on his blog:
http://markashleybell.com/articles/portable-git-windows-setting-home-environment-variable
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey dgw,
I don't like SVN either, but I need to push to a SVN repo on occasion and I'm trying to run an automated script which uses SVN commands.
I've decided to try another portable setup. This time using a portable bash script and adding whatever I need (SVN, Git) that way.
The awesome script I'm using is by @prabirshrestha:
http://blog.prabir.me/post/Portable-Bash-%28msys-mingw%29.aspx
From what I've tested so far, settings are self-contained automatically in a subdirectory (/home/portable), which is great!