Changes

From Genome Analysis Wiki
Jump to navigationJump to search
439 bytes added ,  15:44, 28 March 2011
no edit summary
Line 19: Line 19:     
=== Using git ===
 
=== Using git ===
Just a couple of simple steps to obtain the repository:
+
Just a couple of simple steps to obtain the repository.
# cd <directory where you want the repository located>
  −
# git clone https://github.com/statgen/statgen.git
  −
#* Creates a directory called statgen in the directory where you are located.
  −
#cd statgen
     −
Periodically you should bring in the latest version of the repository (advantage of using git):
+
''In the commands below, replace STATGEN_DIR with the path to where you want the statgen directory located (do not include statgen in the path, it will be added automatically)
# cd <your statgen directory>  
+
 
# git pull
+
# Create the directory where you want the statgen repository located
 +
#* <code>mkdir STATGEN_DIR</code>
 +
# Move into the directory where you want the statgen repository located.
 +
#* <code>cd STATGEN_DIR</code>
 +
# Clone the repository.  This creates a directory called statgen in the directory where you are located.
 +
#* <code>git clone https://github.com/statgen/statgen.git</code>
 +
# Move into the repository.
 +
#* <code>cd statgen</code>
 +
 
 +
Periodically you should ''pull'' in the latest version of the repository (advantage of using git):
 +
# <code>cd STATGEN_DIR/statgen </code>
 +
# <code>git pull </code>
 
# Recompile from the top level (use a make clean first)
 
# Recompile from the top level (use a make clean first)
  

Navigation menu