User Tools

Site Tools


unix:scm

Software Configuration Management

Or Source Code Management, or Versioning, or SCM

git cheatsheet

See also:

Create a project

  git init
  git add .
  git commit

Committing

  git diff --cached
  git add <roba> ; git commit   # or git commit -a

Show the status

  git log
  git log --stat --summary

Branching

  git branch experimental     # create
  git branch                  # Show all the branches
  git checkout experimental   # Switch to branch

Merging

  git merge experimental      # Merge FROM ...

Graphical interface

  git-gui
  gitk

hg cheatsheet

See also:

Create a project

  hg init
  hg add 
  hg commit

Committing

  hg add ; hg commit
  hg commit

Show the status

  hg status
  hg parents

Graphical interface

  hg view
unix/scm.txt · Last modified: 2009/03/05 14:13 by ap

Informativa sui cookie