create working branch
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
ffa57f3238
commit
74f9a6e98a
1 changed files with 8 additions and 5 deletions
|
@ -32,8 +32,8 @@ For more sophisticated setups developing cdist configurations with multiple
|
|||
people, have a look at cdist-best-practice(7).
|
||||
|
||||
|
||||
SETUP WORKING DIRECTORY
|
||||
-----------------------
|
||||
SETUP WORKING DIRECTORY AND BRANCH
|
||||
----------------------------------
|
||||
I assume you have a fresh copy of the cdist tree in ~/cdist, cloned from
|
||||
one of the official urls (see cdist-quickstart(7) if you don't).
|
||||
Entering the command "git branch" should show you "* master", which indicates
|
||||
|
@ -77,15 +77,18 @@ ethz-systems, localch, customerX, ... But this is pretty much up to you.
|
|||
|
||||
In this tutorial I use the branch **mycompany**:
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
cdist% git checkout -b mycompany origin/master
|
||||
Branch mycompany set up to track remote branch master from origin.
|
||||
Switched to a new branch 'mycompany'
|
||||
cdist-user% git branch
|
||||
master
|
||||
* mycompany
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
own account / server, one/multiple users
|
||||
|
||||
clone
|
||||
|
|
Loading…
Reference in a new issue