Re: Git Screencast ?
- From
Patrick Aljord <patcito@gmail.com>
- Date
- Nov 27, 2007, 14:18 UTC
- Message-ID
- <6b6419750711270618j35432bd7p47bbdfe5aa8f12bd@mail.gmail.com>
- In-Reply-To
- <6b6419750711270602q53e2c51dr7046aca1417c801a@mail.gmail.com>
On Nov 27, 2007 3:02 PM, Patrick Aljord <patcito@gmail.com> wrote:
> > http://jointheconversation.org/railsgit > >
I think you can just use 'git-init' now no need for git-init-db.
also once you've created your remote bare git rep, you don't need to use scp, you can just do: $ git-push --all git://server/remote.git
and to push there automatically: $ git remote add origin ssh://server/remote.git $ git config branch.master.remote origin $ git config branch.master.merge refs/heads/master $ git fetch $ git merge master
also for adding new files, rather than doing "git add file1 file2 file3 etc" I just do "git add ." and put in .gitignore all the files that I don't want to commit but I don't know if that's recommended :)