WeKnowAnswers

From Noisebridge
Revision as of 23:51, 16 March 2012 by EmbeddedLinuxGuy (Talk | contribs)

Jump to: navigation, search

Contents


push

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

$ git commit --amend

undo

> git stash

and

> git pop
Personal tools