WeKnowAnswers

From Noisebridge
Jump to navigation Jump to search

> git init

SERVER:

> REPO=~/git/foo.git
> mkdir $REPO
> cd $REPO
> git init --bare

LAPTOP:

$ REMOTE=quux@baz.org
$ git remote add origin $REMOTE:$REPO
$ git push origin master

change

[edit | edit source]
$ git commit --amend
> git stash

and

> git pop