WeKnowAnswers: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
= change = | = change = | ||
$ git commit --amend | $ git commit --amend | ||
= undo = | |||
> git stash | |||
and | |||
> git pop |
Revision as of 23:51, 16 March 2012
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