Both sides previous revisionPrevious revisionNext revision | Previous revision |
dev:kb:version_control [2014/05/13 05:25] – [Git] hackerzhou | dev:kb:version_control [2020/06/06 23:32] (current) – external edit 127.0.0.1 |
---|
==== Delete a changelist ==== | ==== Delete a changelist ==== |
<code> | <code> |
| p4 revert -c changelist# //... |
p4 change -d changelist# | p4 change -d changelist# |
</code> | </code> |
==== See pending/submitted changes ==== | ==== See pending/submitted changes ==== |
<code> | <code> |
p4 changes -u $USERNAME -c $P4CLIENT -s $STATUS(pending, submitted, shelved) | p4 changes -u $P4USER -c $P4CLIENT -s $STATUS(pending, submitted, shelved) |
</code> | </code> |
| |
===== Git ===== | ===== Git ===== |
=== GUI client ==== | === GUI client ==== |
* [[http://gitk.sourceforge.net/|gitk]] - graphical history browser, in Tcl/Tk, distributed with Git (usually in gitk package) | * [[http://gitk.sourceforge.net/|gitk]] - graphical history browser, in Tcl/Tk, distributed with Git (usually in gitk package) |
* [[http://www.kernel.org/pub/software/scm/git/docs/git-gui.html|git gui]] - graphical commit tool, in Tcl/Tk, distributed with Git (usually in git-gui package) | * [[http://www.kernel.org/pub/software/scm/git/docs/git-gui.html|git gui]] - graphical commit tool, in Tcl/Tk, distributed with Git (usually in git-gui package) |
* [[http://digilander.libero.it/mcostalba/|QGit]] - uses Qt toolkit | * [[http://digilander.libero.it/mcostalba/|QGit]] - uses Qt toolkit |
* [[https://wiki.gnome.org/Apps/giggle|Giggle]] - uses GTK+ toolkit | * [[https://wiki.gnome.org/Apps/giggle|Giggle]] - uses GTK+ toolkit |
* [[http://cola.tuxfamily.org/|git-cola]] - uses PyQt4 | * [[http://cola.tuxfamily.org/|git-cola]] - uses PyQt4 |
* [[http://git.gnome.org/cgit/gitg/|gitg]] - GTK+/GNOME clone of GitX | * [[http://git.gnome.org/cgit/gitg/|gitg]] - GTK+/GNOME clone of GitX |
* [[http://jonas.nitro.dk/tig/|tig]] - text mode interface for git, is GUI and pager, uses ncurses | * [[http://jonas.nitro.dk/tig/|tig]] - text mode interface for git, is GUI and pager, uses ncurses |
* [[https://sites.google.com/site/gitforcetool/home|GitForce]] Git tool with Graphical user interface, available under GNU GPL license | * [[https://sites.google.com/site/gitforcetool/home|GitForce]] Git tool with Graphical user interface, available under GNU GPL license |
==== Git clone specified branch ==== | ==== Git clone specified branch ==== |
<code bash> | <code bash> |