Managing Enterprise Srvers Portfolio


By: John David Lamzon




Project maintained by jdlamzon-tip

Prelim: Hands-on Activity 2: Install and configure your repository in remote Git in GitHub



1. Create an account in Github
Username should be your given initials and last name followed by -tip (e.g. ajcanlas-tip) Use your TIP email address for this (if you have already linked your email with GitHub create a separate one) Verify your account in your email in GitHub

2. Create a repository with your username (in my case it is ajcanlas-tip) without any files, and it should be public.

3. In your Alpine VM clone the repository you just created in my case this is my url https://github.com/ajcanlas-tip/ajcanlas-tip.git 4. Create a profile with Markdown this is a cheat sheat (Links to an external site.) in a “README.md” file README.md should have the following:
1. Your full name: 2. Year Level: 3. Interest: 4. Email Address: 5. Computer Specs (CPU/RAM/DISK type and size)
5. To add it to your profile add the README.md file commit it then push it in the repository (to push a repository use git push -u origin master)

Commands: git add README.md git commit -m "First commit" git push -u origin master 6. Fork this repository https://github.com/ajcanlas-tip/sysad2-12021.git



7. Clone your newly forked repository with git clone https://github.com/< your username >/sysad2-12021.git and go in the repository directory.
8. Make a new branch named “activity2” using git branch activity2 and git checkout activity2
9. Make a new new remote upstream with git 10. Create your directory with your username, create a directory named “activity2” add the previous README.md file as HA2.md

Commands: mkdir mkdir activity2 cp HA2.md 11. Add, commit and push it to your activity2 branch

Commands: mkdir mkdir activity2 cp HA2.md
12. Request a pull request for the master branch in https://github.com/ajcanlas-tip/sysad2-12021.git and activity2 branch of your forked repository.

Output:


GitHub Page

Directory Summary:

. ├── jdlamzon-tip │   └── activity2 │   └── HA2.md └── README.md 2 directories, 1 files