Quickly Un-doing a git Commit
Un-Committing to git
Occasionally, when using the version control system Git, you may find yourself committing a file you didn't intend to. For example, you might want to commit two files separately, with different log messages (making it easier to roll back unconnected changes separately), but accidentally use the usually helpful shortcut git commit -a and commit both at once. Happily, there is a simple solution to this:
git reset --soft HEAD^This command removes the most recent commit from the git repository, while leaving the changes...
Read the rest of this git tip at Serverwatch.com
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 2Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative
- 3Linux Top 3: Fedora, Ubuntu and Gluster Lose Community Leaders
- 4Red Hat Enterprise Linux 7 Finally Hits the Big Time
- 5Linux Top 3: Tails 1.0, OpenMandriva Lx 2014.0 and Debian 7.5