WeKnowAnswers

From Noisebridge
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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