1) Pay attention to Chad's advice to set autocrlf=false. There is a
lot of confusing information on the "git for windows" tutorials that
are out there, and many suggest you enable autocrlf. What I've come to
understand is that really only applies if you are committing to a
linux based project (like, say, the linux kernel). If you are working
mostly on Windows-based projects, you dont want git's "help" in
"fixing" your files. Setting autocrlf=false tells git "leave my files
alone, I like the line endings exactly how they are".
2) Always work in a branch locally. After you clone the repo and
before you start making any changes, create a branch. Once you are
happy with your changes, merge your branch back into master, and then
push master to your remote repo.
This gives you at least 2 benefits that I've found useful:
- if you want to throw away your changes, just switch back to master
and delete that branch. I know there is a way to do it, but I've had
so much trouble trying to tell git to throw away my recent changes.
Just blowing away the branch is easy and works.
- if you want to work on a different task that is a tangent from your
original task, just switch back to master and create a new branch. It
wont have any of your in-progress changes from the first branch. This
allows you to commit the work from the 2nd task before finishing the
1st task.
> --
> You received this message because you are subscribed to the Google Groups
> "FubuMVC Development Group" group.
> To post to this group, send email to fubumv...@googlegroups.com.
> To unsubscribe from this group, send email to
> fubumvc-deve...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fubumvc-devel?hl=en.
>
>
I didn't fancy installing cygwin, so I used with no problems msysgit
http://msysgit.googlecode.com/files/Git-1.6.5.1-preview20091022.exe
When you create your GitHub account, I'd create your SSH/RSA key
before forking the fubumvc repo, because it needs it. If you don't,
its OK, you just have to go to the Admin settings on your GitHub
account and add a new key.
If you've not installed Ruby (and Rake) before, then you need to do a
"gem install rubyzip" before you build the src, else it will error
with a "cannot find zip/zip" thing.