This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cvs2git [2014-03-29 18:55] glen [Changes to Developer] rpm-build-tools requires git now |
cvs2git [2014-03-29 18:56] (current) glen fix double slash issues |
||
---|---|---|---|
Line 31: | Line 31: | ||
* CVS: ''cvs up'' | * CVS: ''cvs up'' | ||
- | * GIT: ''git pull --rebase'' | + | * GIT: ''%%git pull --rebase%%'' |
==== checkin single file ==== | ==== checkin single file ==== | ||
Line 57: | Line 57: | ||
* CVS: look into ''Attic/'' in cvsweb | * CVS: look into ''Attic/'' in cvsweb | ||
- | * GIT: ''git log --pretty=format: --name-only --diff-filter=D'' | + | * GIT: ''%%git log --pretty=format: --name-only --diff-filter=D%%'' |
==== restore old removed file ==== | ==== restore old removed file ==== | ||
Line 63: | Line 63: | ||
* CVS: look into ''Attic/'' in cvsweb and \\ ''cvs up -jHEAD -j$DEAD_REV'' and commit | * CVS: look into ''Attic/'' in cvsweb and \\ ''cvs up -jHEAD -j$DEAD_REV'' and commit | ||
* GIT: | * GIT: | ||
- | - get sha: ''git log -- FILE'' | + | - get sha: ''%%git log -- FILE%%'' |
- get contents: ''git show HASH:FILE'' | - get contents: ''git show HASH:FILE'' | ||