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
6656ac1c
Commit
6656ac1c
authored
Mar 21, 2013
by
Matthias Putz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made git_ssh executable + fixed repo + updated readme
parent
43e95f52
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
8 deletions
+37
-8
README.md
README.md
+34
-4
git_ssh
git_ssh
+0
-0
repo
repo
+2
-2
repo.iml
repo.iml
+1
-2
No files found.
README.md
View file @
6656ac1c
...
@@ -20,6 +20,7 @@ The mainly used, platform dependet features are: symbolic links as well as the c
...
@@ -20,6 +20,7 @@ The mainly used, platform dependet features are: symbolic links as well as the c
### Setup ###
### Setup ###
#### Windows ####
*
Add to Windows environment variable PATH
*
Add to Windows environment variable PATH
*
full additions (explained further on)
*
full additions (explained further on)
;C:
\P
ython33C;
\P
rogram Files (x86)
\G
it
\c
md;C:
\P
rogram Files (x86)
\G
it
\b
in;%USERPROFILE%
;C:
\P
ython33C;
\P
rogram Files (x86)
\G
it
\c
md;C:
\P
rogram Files (x86)
\G
it
\b
in;%USERPROFILE%
...
@@ -27,9 +28,37 @@ The mainly used, platform dependet features are: symbolic links as well as the c
...
@@ -27,9 +28,37 @@ The mainly used, platform dependet features are: symbolic links as well as the c
*
Git cmd folder
*
Git cmd folder
*
Git bin folder
*
Git bin folder
*
repo script default path
*
repo script default path
*
Start "Git Bash", Download repo script
*
Download repo script
curl https://github.com/esrlabs/git-repo/repo > ~/repo
curl https://github.com/esrlabs/git-repo/repo.cmd > ~/repo.cmd
curl https://raw.github.com/esrlabs/git-repo/master/repo > %USERPROFILE%/repo
curl https://raw.github.com/esrlabs/git-repo/master/repo > %USERPROFILE%/repo.cmd
#### Linux ####
*
Add to environment variable PATH
*
repo bin folder (separator is ':')
~/bin
*
Download repo script
curl https://raw.github.com/esrlabs/git-repo/master/repo > ~/bin/repo
*
Make executable
chmod +x ~/bin/repo
*
Optional: Since commonly on linux systems python will start python2, a fast way to switch is required. A recommended approach is with update-alternatives:
*
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/python3 20
* switching to python 3 / python2 (command provides interactive switching)
sudo update-alternatives --config python
### Usage ###
### Usage ###
...
@@ -51,4 +80,5 @@ found on the referenced Android [git-repo](http://source.android.com/source/vers
...
@@ -51,4 +80,5 @@ found on the referenced Android [git-repo](http://source.android.com/source/vers
*
view diff, status, .. (in root folder)
*
view diff, status, .. (in root folder)
repo status
repo status
repo diff
\ No newline at end of file
repo diff
git_ssh
100644 → 100755
View file @
6656ac1c
File mode changed from 100644 to 100755
repo
View file @
6656ac1c
...
@@ -35,7 +35,8 @@ VERSION = (1, 19, 1)
...
@@ -35,7 +35,8 @@ VERSION = (1, 19, 1)
# increment this if the MAINTAINER_KEYS block is modified
# increment this if the MAINTAINER_KEYS block is modified
KEYRING_VERSION
=
(
1
,
1
)
KEYRING_VERSION
=
(
1
,
1
)
MAINTAINER_KEYS
=
"""
MAINTAINER_KEYS
=
"""
Matthias Putz (E.S.R.Labs) <matthias.putz@esrlabs.com>
Matthias Putz (E.S.R.Labs) <matthias.putz@esrlabs.com>
-----BEGIN PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.0
Version: SKS 1.1.0
...
@@ -97,7 +98,6 @@ t5sKGnfGreTJl8iyzqtQe60Wzxr5tg3W/QvJYaYZRFlZX5cKjXXZizPDHpOcQYwQWM36RLsu
...
@@ -97,7 +98,6 @@ t5sKGnfGreTJl8iyzqtQe60Wzxr5tg3W/QvJYaYZRFlZX5cKjXXZizPDHpOcQYwQWM36RLsu
CWWfbB6lN1jvyojS5ZPw
CWWfbB6lN1jvyojS5ZPw
=UVAj
=UVAj
-----END PGP PUBLIC KEY BLOCK-----
-----END PGP PUBLIC KEY BLOCK-----
"""
"""
GIT
=
'git'
# our git command
GIT
=
'git'
# our git command
...
...
repo.iml
View file @
6656ac1c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<module
type=
"JAVA_MODULE"
version=
"4"
>
<module
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<component
name=
"FacetManager"
>
<facet
type=
"Python"
name=
"Python"
>
<facet
type=
"Python"
name=
"Python"
>
<configuration
sdkName=
"
Python 3.3.0 (C:/Python33/python.exe)
"
/>
<configuration
sdkName=
""
/>
</facet>
</facet>
</component>
</component>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"false"
>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"false"
>
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
</content>
</content>
<orderEntry
type=
"jdk"
jdkName=
"Python 3.3.0 (C:/Python33/python.exe)"
jdkType=
"Python SDK"
/>
<orderEntry
type=
"jdk"
jdkName=
"Python 3.3.0 (C:/Python33/python.exe)"
jdkType=
"Python SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
name=
"Python 3.3.0 (C:/Python33/python.exe) interpreter library"
level=
"application"
/>
</component>
</component>
</module>
</module>
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