mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
---
|
|
title: Import zip
|
|
category: offline projects
|
|
order: 10
|
|
---
|
|
|
|
## Download zip archive ##
|
|
An offline project is based on a zip archive that contains all the git files.
|
|
|
|
First, download the latest version of the project you want to import.
|
|
|
|
* For GitHub :
|
|
1. Go to the project main page (e.g. https://github.com/larshp/abapOpenChecks)
|
|
2. Select **Code** > **Download ZIP**
|
|
3. Save file
|
|
|
|
## Import zip archive ##
|
|
1. Connect to SAP in language **EN**
|
|
2. Run abapGit:
|
|
* If you have installed the standalone version : in transaction `SE38`, run the program you created (`ZABAPGIT_STANDALONE` or `ZABAPGIT_FULL` or other)
|
|
* If you have installed the developer version : run transaction `ZABAPGIT`
|
|
3. Select **New Offline**
|
|
4. Enter the project name and select an existing package or create a new package
|
|
5. Select **Import <sup>zip</sup>**
|
|
6. Select the zip archive file (eg. *abapGit-master.zip*)
|
|
7. Select **Pull <sup>zip</sup>**
|
|
8. Activate
|
|
|
|
## Hints ##
|
|
abapGit can only import files with [`LF`](https://en.wikipedia.org/wiki/Newline) as line-terminator.
|
|
If you clone a project on windows with git cli to pack into a zip-archive later on, configure git not replace `LF` by `CRLF`:
|
|
```
|
|
git config [--global, --local, --system] core.autocrlf false
|
|
```
|