Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
git-repo
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux-tools
git-repo
Commits
0c664b25
Commit
0c664b25
authored
Mar 21, 2013
by
Daniel Himmelein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
6cd00adf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
19 deletions
+11
-19
README.md
README.md
+11
-19
No files found.
README.md
View file @
0c664b25
...
@@ -14,11 +14,11 @@ For example, with a single Repo command you can download files from multiple rep
...
@@ -14,11 +14,11 @@ For example, with a single Repo command you can download files from multiple rep
##### Download and install Git #####
##### Download and install Git #####
*
Download
[
Git (http://git-scm.com/downloads)
](
http://git-scm.com/downloads
)
*
Download
[
Git (http://git-scm.com/downloads)
](
http://git-scm.com/downloads
)
*
Add Git to your path environment variable: C:
\P
rogram Files (x86)
\G
it
\c
md;C:
\P
rogram Files (x86)
\G
it
\b
in;
*
Add Git to your path environment variable:
e.g.
C:
\P
rogram Files (x86)
\G
it
\c
md;C:
\P
rogram Files (x86)
\G
it
\b
in;
##### Download and install Python #####
##### Download and install Python #####
*
Download
[
Python 3+ (http://python.org/download/releases/3.3.0/)
](
http://python.org/download/releases/3.3.0/
)
*
Download
[
Python 3+ (http://python.org/download/releases/3.3.0/)
](
http://python.org/download/releases/3.3.0/
)
*
Add Python to your path environment variable: C:
\P
ython33;
*
Add Python to your path environment variable:
e.g.
C:
\P
ython33;
##### Download and install Repo either using the Windows Command Shell or Git Bash #####
##### Download and install Repo either using the Windows Command Shell or Git Bash #####
###### Windows Command Shell ######
###### Windows Command Shell ######
...
@@ -37,28 +37,20 @@ For example, with a single Repo command you can download files from multiple rep
...
@@ -37,28 +37,20 @@ For example, with a single Repo command you can download files from multiple rep
#### Setup steps for Linux ####
#### Setup steps for Linux ####
*
Add to environment variable PATH
##### Downloading and installing Git and Python #####
*
repo bin folder (separator is ':')
*
sudo apt-get install git-core
~/bin
*
Since our Repo requires Python 3.3, use the following commands to switch between multiple Python versions:
*
Download repo script
curl https://raw.github.com/esrlabs/git-repo/master/repo > ~/bin/repo
*
Make executable
chmod +x ~/bin/repo
*
Optional: Manage different python versions
*
setup alternative executables for python
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.3 20
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.3 20
sudo update-alternatives --config python
* switching to python 3 / python2 (command provides interactive switching)
##### Download and install Repo #####
sudo update-alternatives --config python
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://raw.github.com/esrlabs/git-repo/master/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
### Usage ###
### Usage ###
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment