Git tutorial # 5 - tree architecture

in #steemit7 years ago (edited)

Hello everybody!🤗 🤗

In this post I am going to explain you what is the tree architecture in git.

The tree architecture is a structure that has to build the history of the project, basically is a sequence of things that are carried out to be able to create a history of our project in time.

In the tree architecture structure, three different areas are used for the development of a project, which are named: Working area,Staging area, Respository ... as seen in the following image

Working area


The working area is where we work our project locally, ie our files folder and what we do with these files in our code editor, which we commonly do, with a project.

Staging Area


The staging area is an area of preparation of our files before publishing to the repository, ie I must select the files that will be uploaded to the repository and this is already because they have some new changes or some new file.

Repository


The repository is where we have the record of the entire project, where all the history of changes that we have published and we can see who has made the changes or what were the changes, in this area is where other developers enter if is going to work together, then they have the possibility to see what the project changes have been and can clone that project as far as it goes at the moment, and they must carry out the same sequence of steps, according to the tree architecture.

In conclusion what is done first is to make changes in the project, then the files that we modified add them to the staging area, and then publish our changes from the staging area to our repository.

Well, I hope it has become clear to you.🤓

Regards! 👋 👋

Sort:  

This post has been ranked within the top 10 most undervalued posts in the first half of Sep 01. We estimate that this post is undervalued by $90.13 as compared to a scenario in which every voter had an equal say.

See the full rankings and details in The Daily Tribune: Sep 01 - Part I. You can also read about some of our methodology, data analysis and technical details in our initial post.

If you are the author and would prefer not to receive these comments, simply reply "Stop" to this comment.

Great. Thanks for sharing. I'm starting to follow you.

Este Post ha recibido un Upvote desde la cuenta del King: @dineroconopcion, El cual es un Grupo de Soporte mantenido por 5 personas mas que quieren ayudarte a llegar hacer un Top Autor En Steemit sin tener que invertir en Steem Power. Te Gustaria Ser Parte De Este Projecto?

This Post has been Upvote from the King's Account: @dineroconopcion, It's a Support Group by 5 other people that want to help you be a Top Steemit Author without having to invest into Steem Power. Would You Like To Be Part of this Project?

This post has received a 0.78 % upvote from @drotto thanks to: @banjo.

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 61940.19
ETH 2433.78
USDT 1.00
SBD 2.50