Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(544)

Side by Side Diff: Documentation/contributor/source-code.itexi

Issue 150830043: CG: add new instructions for LilyDev 3 (issue 2538) (Closed)
Patch Set: Created 9 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 2
3 3
4 @node Working with source code 4 @node Working with source code
5 @chapter Working with source code 5 @chapter Working with source code
6 6
7 @warning{New contributors should read @ref{Quick start}, and in 7 @warning{New contributors should read @ref{Quick start}, and in
8 particular @ref{lily-git}, instead of this chapter.} 8 particular @ref{lily-git}, instead of this chapter.}
9 9
10 Advanced contributors will find this material quite useful, 10 Advanced contributors will find this material quite useful,
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 @end example 209 @end example
210 210
211 Finally, and in some ways most importantly, let's make sure that 211 Finally, and in some ways most importantly, let's make sure that
212 we know what branch we're on. If you're not using LilyDev, add 212 we know what branch we're on. If you're not using LilyDev, add
213 this to your @file{~/.bashrc}: 213 this to your @file{~/.bashrc}:
214 214
215 @verbatim 215 @verbatim
216 export PS1="\u@\h \w\$(__git_ps1)$ " 216 export PS1="\u@\h \w\$(__git_ps1)$ "
217 @end verbatim 217 @end verbatim
218 218
219 If you are not using LilyDev, you may need to install the 219 If you are not using LilyDev >=3.1, you may need to install the
pkx166h 2014/09/23 07:58:03 If you are not using the most recent version of Li
fedelogy 2014/09/23 23:20:53 I agree in general, but bash-completion is not ins
220 additional @code{git-completion} package, but it is definitely 220 additional @code{bash-completion} package, but it is definitely
221 worth it. 221 worth it. After installation you must log out of the session
pkx166h 2014/09/23 07:58:03 "After installation you must log out, and then log
222 to enable it.
222 223
223 224
224 @subsubheading Technical details 225 @subsubheading Technical details
225 226
226 Git stores the information entered with 227 Git stores the information entered with
227 @command{git@tie{}config@tie{}--global} in the file 228 @command{git@tie{}config@tie{}--global} in the file
228 @file{.gitconfig}, located in your home directory. This file can 229 @file{.gitconfig}, located in your home directory. This file can
229 also be modified directly, without using 230 also be modified directly, without using
230 @command{git@tie{}config}. The @file{.gitconfig} file generated 231 @command{git@tie{}config}. The @file{.gitconfig} file generated
231 by the above commands would look like this: 232 by the above commands would look like this:
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 @example 1271 @example
1271 git clone git://github.com/gperciva/git-cl.git 1272 git clone git://github.com/gperciva/git-cl.git
1272 @end example 1273 @end example
1273 1274
1274 @item 1275 @item
1275 Add the @file{git-cl/} directory to your PATH, 1276 Add the @file{git-cl/} directory to your PATH,
1276 or create a symbolic link to the @command{git-cl} 1277 or create a symbolic link to the @command{git-cl}
1277 and @command{upload.py} scripts in one of your PATH 1278 and @command{upload.py} scripts in one of your PATH
1278 directories (such as @file{$HOME/bin}). 1279 directories (such as @file{$HOME/bin}).
1279 1280
1280 In Ubuntu (and LilyDev), you can add directories to PATH 1281 In GNU/Linux you can add directories to PATH
1281 by adding this line to a hidden file @file{.bashrc}, 1282 by adding this line to a hidden file @file{.bashrc},
1282 located in your home directory: 1283 located in your home directory:
1283 1284
1284 @example 1285 @example
1285 PATH=~/type-here-directory-containing-git-cl:"$@{PATH@}" 1286 PATH=~/type-here-directory-containing-git-cl:"$@{PATH@}"
1286 @end example 1287 @end example
1287 1288
1288 @end enumerate 1289 @end enumerate
1289 1290
1290 @subsubheading @command{git-cl} configuration 1291 @subsubheading @command{git-cl} configuration
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2498 2499
2499 @item 2500 @item
2500 Book about git: @uref{http://progit.org/,Pro Git} 2501 Book about git: @uref{http://progit.org/,Pro Git}
2501 2502
2502 @item 2503 @item
2503 Github help: @uref{http://help.github.com/} 2504 Github help: @uref{http://help.github.com/}
2504 (very highly recommended by Graham) 2505 (very highly recommended by Graham)
2505 2506
2506 @end itemize 2507 @end itemize
2507 2508
OLDNEW
« Documentation/contributor/quick-start.itexi ('K') | « Documentation/contributor/quick-start.itexi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b