Subscribe to NotarySojac's debian career        RSS Feed
* * * * *

Git - Setting Up Versions and Direct Downloads on Github

Icon Leave Comment
As time goes on, while managing your source code with github, you'll find yourself becoming bored with just having the latest version of your project being easily downloadable from

www.github.com/YOUR_NAME/YOUR_PROJECT
...
- - - - -

Private (secret) Git Servers for your Source Code

Icon Leave Comment
So let's say you have a project that is so hawt, that you literally can't afford to let your trusty ISP see what you're working on. I know everyone loves and trusts names like Comcast, and AT&T to do the right thing in every circumstance, no matter what, but that's beside the point. Sometimes the project you're working on...
* * * * *

git (intermediate) - Keeping stuff out of your repo

Icon Leave Comment
Keep dumb stuff out of your git repo by adding it to your "git ignore" file!
$ vi .gitignore
(.gitignore)
database.yml



What if it's too late and you already added something that you need to get out?

Remove sensative data from github
ref: http://help.github.c...sensitive-data/
To permenently delete and Erase the...
- - - - -

git (intermediate) - undo last commit

Icon Leave Comment
If you ever decide that you wish you had never made the last commit you made, you can undo the current commit and get back there. Here's how:

1) Make it so git resets back to the commit before (aka "HEAD^")
$  git reset --soft HEAD^  
...
- - - - -

git (intermediate) - Forking Repos "collaborating overview"

Icon Leave Comment
http://help.github.com/fork-a-repo/...
- - - - -

Day 4 - Why git will replace incumbant president Barack Obama in the 2012 democratic primaries

Icon Leave Comment
Well... now that we're coding and compiling on this thing, we'd better come up with some way of tracking the history and progress of our source code.
I mean... one false line of code and we might destroy our entire application, and we don't even know how to make backup copies. Hmmm... what to do... I know!

git
...

Page 1 of 1