Project Management

Work through a git tutorial & Build a personal site in the class archive


1. Generate SSH key to establish a secure connection between local computer and GitLab repo.

Git is a distributed version control system, which means you can work locally but you can also share or "push" your changes to other servers. For example, if you edit or add some codes in your laptop, you can push the changes through GitBash and store the updated version of codebase in cloud repository. Before you can push your changes to a GitLab server you need a secure communication channel for sharing information. The SSH protocol provides this security and allows you to authenticate to the GitLab remote server without supplying your username or password each time.


In 'Settings' of your GitLab repo, you can find 'SSH Keys' tab in the navigation bar on the left.



Since I didn't have SSH key for my laptop, I generated one and named it samsung as you can see below. To do so, just click generate one and follow the description.



From here, you need GitBash to follow the instruction in this page. GitBash emulates a bash environment on windows. It lets you use all git features in command line plus most of standard unix commands. "Click to Download GitBash!"
NOTE) All command lines on this page is for Windows. If you use Mac OS or Linux, you should find appropriate code to use.

To generate a new SSH key pair, use the following command in GitBash:



If you enter the command line above, it will ask you to enter file in which to save the key. You don't have to enter passphrase if you do not want to type it every time you use GitBash. After successfully getting the key fingerprint and randomart image, the next step is to copy the public SSH key as you will need it afterwards. To copy your public SSH key to the clipboard, use the appropriate one. Note again, the command line below is for Windows:



The process in GitBash until now looks as follows:




The final step is to add your public SSH key to GitLab. Again, navigate to the 'SSH Keys' tab in your 'Profile Settings'. Paste your key in the 'Key' section and give it a relevant 'Title'. It is recommended to name your SSH key like 'Windows 7' to identify the device.



2. Download bootstrap template and build a personal site in the class archive.

To build up my website, I chose to use bootstrap themes and template. Most strong point of bootstrap is that it is easy to use, even for the beginners. Just choose the themes appropriate for your purpose, download it, and edit html files(if necessary you can also edit css files to change the style). "Check Free Bootstrap Templates!" Responsiveness is one of the advantageous features of bootstrap. The layout of responsible website looks fine in any size of window, in both computer and mobile screen. In mobile phone, my website look as follows:




In 'Settings' of your GitLab repo, you can find 'SSH Keys' tab in the navigation bar on the left.



Since I didn't have SSH key for my laptop, I generated one and named it samsung as you can see below. To do so, just click generate one and follow the description.



From here, you need GitBash to follow the instruction in this page. GitBash emulates a bash environment on windows. It lets you use all git features in command line plus most of standard unix commands. "Click to Download GitBash!"
NOTE) All command lines on this page is for Windows. If you use Mac OS or Linux, you should find appropriate code to use.

To generate a new SSH key pair, use the following command in GitBash:



If you enter the command line above, it will ask you to enter file in which to save the key. You don't have to enter passphrase if you do not want to type it every time you use GitBash. After successfully getting the key fingerprint and randomart image, the next step is to copy the public SSH key as you will need it afterwards. To copy your public SSH key to the clipboard, use the appropriate one. Note again, the command line below is for Windows:



The process in GitBash until now looks as follows:




The final step is to add your public SSH key to GitLab. Again, navigate to the 'SSH Keys' tab in your 'Profile Settings'. Paste your key in the 'Key' section and give it a relevant 'Title'. It is recommended to name your SSH key like 'Windows 7' to identify the device.


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error, nostrum, aliquid, animi, ut quas placeat totam sunt tempora commodi nihil ullam alias modi dicta saepe minima ab quo voluptatem obcaecati?

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum, dolor quis. Sunt, ut, explicabo, aliquam tenetur ratione tempore quidem voluptates cupiditate voluptas illo saepe quaerat numquam recusandae? Qui, necessitatibus, est!


Leave a Comment:
Commenter Name
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Commenter Name
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Commenter Name
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
Commenter Name
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

Copyright © Your Website 2018