PROMO JULIO en CVOSOFT United States Of America: 💎Calidad, 🔥Bonificaciones, 🥶Precios Congelados y MÁS!

 X 

✒️SAP Fiori La conexión al GitHub mediante la terminal en el BAS

SAP Fiori La conexión al GitHub mediante la terminal en el BAS

SAP Fiori La conexión al GitHub mediante la terminal en el BAS

1 | Git Version in BAS

Git provides a tool called git config, which allows us to get and set configuration variables that control Git's behavior and appearance. One of the first steps is to configure your username and email address, as Git uses this information to label your commits. This information becomes a permanent part of any commits you make.

You only need to set this once using the --global option, as Git will then use it for all repositories on that system. If you need to override this information for a specific project, you can run the command without --global when inside that project.

2 | Global Configurations

The git config command allows us to configure basic repository settings such as our username and email, which are used to identify our commits.

To globally set your GitHub email and username in Business Application Studio (BAS), use the following commands:

git config --global user.email "example@gmail.com"

git config --global user.name "Name Surname"

Remote repositories (origin) are hosted on servers like GitLab, GitHub, or personal servers. The local repository on our machine is stored in a .git subdirectory containing all necessary files.

Next, we initialize our local repository in Business Application Studio. Using the terminal in SAP BAS, we initialize Git with the command git init, as shown below.

git init

3 | Initializing Remote Repository

The git init command creates a local repository in your project folder. It creates a hidden folder named .git to store all repository information.

To set the remote origin URL, use the command:

git remote add origin https://github.com/paht1/repository.git

You can find the remote repository URL on GitHub by clicking on the "Code" button.

4 | Adding Changes to Local Repository

The git status command helps us understand the current state of files in the repository—whether they are untracked, modified, or staged for commit.

To add changes to the staging area (preparing them for a commit), use:

git add "filename"

git add . // All files

This command stages all changes. Check the status again with git status -s to ensure your changes are staged correctly.

To commit changes to the local repository, use:

git commit -m "commit message"

This command captures a snapshot of the changes you've staged (in the HEAD), but they are not yet pushed to the remote repository.

5 | Pushing Changes to Remote Repository

The git push command is used to publish local changes to a remote repository (like GitHub, GitLab, or Bitbucket).

git push origin "branchName"

This command pushes committed changes to the master branch of the remote repository. You may need to provide your GitHub username and token.

To generate a token for GitHub, navigate to your repository's settings and find the developer settings to generate a personal access token.


 

 

 


Sobre el autor

Publicación académica de Jaime Eduardo Gomez Arango, en su ámbito de estudios para la Carrera Consultor en SAP Fiori.

SAP Expert


Jaime Eduardo Gomez Arango

Profesión: Ingeniero de Sistemas y Computación - España - Legajo: SW34C

✒️Autor de: 149 Publicaciones Académicas

🎓Cursando Actualmente: Consultor en SAP Fiori

🎓Egresado de los módulos:

Disponibilidad Laboral: FullTime

Presentación:

Ingeniero de sistemas y computación con 8 años de experiencia el desarrollo frontend & backend (react/node) y en cloud (aws), actualmente desarrollando habilidades en sap btp, ui5, abap y fiori.

Certificación Académica de Jaime Gomez

✒️+Comunidad Académica CVOSOFT

Continúe aprendiendo sobre el tema "La conexión al GitHub mediante la terminal en el BAS" de la mano de nuestros alumnos.

SAP Senior

La versión de Git en BAS Git está integrado en muchos IDE de codigo La mayoría de los IDE trae una integración con Git y GitHub Para conocer la versión desde la consola utilizamos el comando git version Git trae una herramienta llamada git config que nos permite obtener y establecer variables de configuración que control el aspecto y funcionamiento de Git Lo primero que debemos establecer es el nombre y el correo Está información es importante porque los commit de Git usan esa información para todo lo que hagamos en el sistema Debemos setear en forma global el nombre y correo de GitHub en el BAS git status : permite conocer el estado a actual de los archivos en el repositorio...

Acceder a esta publicación

Creado y Compartido por: Detriana Barrios / Disponibilidad Laboral: FullTime + Carta Presentación

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert


1 | Git Version in BAS Git provides a tool called git config, which allows us to get and set configuration variables that control Git's behavior and appearance. One of the first steps is to configure your username and email address, as Git uses this information to label your commits. This information becomes a permanent part of any commits you make. You only need to set this once using the --global option, as Git will then use it for all repositories on that system. If you need to override this information for a specific project, you can run the command without --global when inside that project. 2 | Global Configurations The git config command allows us to configure basic repository settings such as our username and email, which are used to...

Acceder a esta publicación

Creado y Compartido por: Jaime Eduardo Gomez Arango / Disponibilidad Laboral: FullTime + Carta Presentación

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Senior

Git está integrado en muchos IDEs y permite el control de versiones en proyectos. Los IDEs como Visual Studio Code tienen una buena integración con Git y GitHub. Los IDEs suelen tener clientes de Git tanto en terminal como gráficos. Podemos usar el comando "git version" para conocer la versión de Git en uso. Configuraciones globales en Git. Podemos usar el comando "git config" para establecer variables de configuración en Git. Es importante configurar el nombre de usuario y dirección de correo electrónico. Podemos establecer estas configuraciones a nivel global con la opción "--global"....

Acceder a esta publicación

Creado y Compartido por: Nilson Parra Martinez / Disponibilidad Laboral: PartTime

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Senior

integrados en IDE Cliente gráfico git version -- global HEAD al hacer el commit git status -s localización i18n git push se publica en repositorio remoto generamos el token cambios con una funcionalidad específica git config https ssh status A en el área temporal git commit -m para agregar un mensaje git log --oneline

Acceder a esta publicación

Creado y Compartido por: Enrique Gomez

 


 

👌Genial!, estos fueron los últimos artículos sobre más de 79.000 publicaciones académicas abiertas, libres y gratuitas compartidas con la comunidad, para acceder a ellas le dejamos el enlace a CVOPEN ACADEMY.

Buscador de Publicaciones:

 


 

No sea Juan... Solo podrá llegar alto si realiza su formación con los mejores!