Sharing Development Content using Git
Git is the preferred method for sharing development content in an SAP HANA Cloud project. Sharing means importing and exporting content with other developers.
Git is used to manage the source code in an application development environment. It provides tools for developers who need to collaborate on projects and work in parallel. Git provides sophisticated features to manage the source code, especially in large projects where multiple team members need to work together and share objects without overwriting each others' work.
SAP Business Application Studio includes Git allowing you to manage the lifecycle of your source code locally, but also to connect to a remote corporate/public Git repository to interact with other developers, share code, and so on.
Git operations can also be invoked from the terminal, which is suitable for experienced Git users, or from the Git view that gives you access to the base Git functionality in a more guided and visual approach.
Importing Development Content without Git
Although Git is recommended, you could also use the simpler import features of SAP SAP Business Application Studio to bring content into your workspace. You can copy a complete project or just parts of a project to your existing workspace or start a new workspace. Be careful when you are using these tools as there is no tracking and version controls as you have with Git.
|Import (Welcome page)|
Import project (right-click on blank area)
|Imports exclusively .tar or .zip archives and also extracts them at the same time.|
After importing a project, the new folder can be opened in a new workspace.
|File → Upload Files||Uploads archives (.tar or .zip) or single files|
This is useful when you need to add individual files into your project structure instead of an entire project. If you upload an archive file, you must then extract its contents with the command line (tar / unzip).
|Drag and drop from your file explorer||With drag and drop, you can copy files, folders, or both, from your Windows File Explorer to any folder visible in the Explorer view of Business Application Studio.|
Exporting Development Content without Git
You can easily export development content using the simple download option of SAP Business Application Studio.
|Download||Downloads files and/or folders from SAP Business Application Studio perhaps to pass to other colleagues. Multiple objects are archived as a single .tar file. Simply right-click on any file or folder in the Explorer view of Business Application Studio. |
To download the entire root folder (perhaps to include multiple projects), right-click the blank area below the file structure.