step 1¶
download the git software from the internet on this link (https://git-scm.com/downloads)
What is git ?¶
Git is the most commonly used version control system. Git tracks the changes you make to files, so you have a record of what has been done, and you can revert to specific versions should you ever need to. Git also makes collaboration easier, allowing changes by multiple people to all be merged into one source.
step 2¶
we need a account from GitLab (https://about.gitlab.com/) a. after creating the account b. go to your profile picture c. remembers or copy your user’s name
step3¶
open the Git bash and insert
git config –global user.name ” your user name”
git config –global user.email “your email”
example
git config –global user.name ” saraheid”
git config –global user.email “Saraeid98110@gmail.com”
step 4¶
creating a clone which is in the Get lab website to our personal computer
a. go to get lab website b. folder file in get lab c. go to clone d. clone the code with HTTPS e. and past it in git bash
step 5¶
open the folder in atom to start editing and documenting work offline a. file b. open folder
### step 6 how to edit in atom the coding in atom is a simplified version of HTML that is easiest to assets by opining your specific page to added in your website in Git lab to start editing a. heading for inserting heading we use ( # )before the text and that the number of hashtags preview a deferent size of the text example the (#) #example (##) ##example (###) ###example
for previewing the coding that its been write a. right click on the page in the folder b. mark down preview or for shortcut (ctrl + k k )
to adding a picture we need a seiten code¶
insert for example
### step 7 after finales the page and it need to pushed into the website witch is Fablab there is 3 steps a. saving after finalizing the page it will appear a blue circle beside the page title that meet that its not save to save press (CTRL+S)
b. staging it will appear all the changes that change from the last update in the staging area . then we click in stage all . then comet to master
it not uploaded yet in the website to send all the staging phase has been change we need to push it
d. pushing to push the finalized work there is a bottom named Push in the bottom down tap and it will change in the web site