Skip to content

Navigation Menu

Sign up
justone edited this page Oct 16, 2010 · 7 revisions

Cookbook

Here are some sample dfm sessions that accomplish certain tasks.

Fetching updates and merging them onto the current system

The only change was updating ack to the latest version.

nate@host:~$ ack --version | grep ack [1]
ack 1.90
nate@host:~$ dfm status [2]
# On branch personal
nothing to commit (working directory clean)
nate@host:~$ dfm updates [3]
remote: Counting objects: 79, done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 58 (delta 33), reused 0 (delta 0)
Unpacking objects: 100% (58/58), done.
From endot.org@endot.org:dotfiles
 88f5302..6900bbc personal -> origin/personal
6900bbc: updated ack to 1.92
nate@host:~$ dfm updates --no-fetch [4]
6900bbc: updated ack to 1.92
nate@host:~$ dfm mi [5]
INFO: using merge to bring in changes
Updating 88f5302..6900bbc
Fast forward
 bin/ack | 100 +++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 76 insertions(+), 24 deletions(-)
INFO: re-installing dotfiles
INFO: Installing dotfiles...
nate@host:~$ ack --version | grep ack [6]
ack 1.92
  1. ack is at version 1.90
  2. Run git status in the local repo, verifying that there were no changes
  3. fetching upstream changes, note last line shows what's new
  4. running without fetching, just to show what's new
  5. merge and install the new changes
  6. now ack is at version 1.92

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /