[Debian Wiki] Trivial Update of "BOINC/Development/GitUsage" by SteffenMoeller
Debian Wiki
debian-www at lists.debian.org
Sun Oct 5 22:23:12 UTC 2008
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The following page has been changed by SteffenMoeller:
http://wiki.debian.org/BOINC/Development/GitUsage
The comment on the change is:
Added some verbosity to the instructions for git newbees, Frank please check.
------------------------------------------------------------------------------
{{{
git checkout -b pristine-tar origin/pristine-tar
}}}
+ As a clarification to those new to git, when cloning, the
+ source of our clone is referred to as "origin". The "checkout"
+ when given the "-b" option creates a new branch, which happens
+ to have the same as the branch on the git server. The new branch
+ will then be listed next to the previously cloned master branch:
+ {{{
+ git branch
+ }}}
Now to regenerate for example the `boinc_6.2.18.orig.tar.gz` tarball from the `boinc` repository run:
{{{
pristine-tar checkout boinc_6.2.18.orig.tar.gz
}}}
+ ''Frank, please add some words on what is actually happening here.''
To find out which tarballs can be regenerated with `pristine-tar` run:
{{{
git ls-tree pristine-tar
+ }}}
+
+ To switch back to the master branch, we now check out our own local master branch:
+ {{{
+ git checkout master
}}}
[[Anchor(BuildingPackages)]]
More information about the pkg-boinc-commits
mailing list