Archive for the ‘git’ Category

Made a typo? Forgot something? If you didn’t push your changes, it’s that easy: git commit –amend -m “your new message” Further, _any_ commit can be changed with the right commands. But that’s dangerous and breaks history (if others pulled from you)

Because I want all my submodules to be on the same SCM. And because git is awesome, and mercurial is just a bit less awesome. (don’t take it personal)

Because GitHub is cool and sourceforge isn’t. (And i like to manage my submodules via git) Create your dir of choice git init git svn init -T  <svnrepo> git svn fetch git gc (to speed things up) git remote add origin <yourgitpushurl> git push origin master

Can’t they just make it fast???

Diclaimer: I shamelessly copied this article from freshsauce. Here’s how to set-up globally a set of excludes when using GIT, in this case setting up GIT to ignore .DS_Store files on a Mac. First add a common ignore file to the GIT configuration, in this case stored in the users home directory called .gitignore NOTE: you’ll [...]


top

Switch to our mobile site