Class02 Lab Answer:

This is an easy lab.

The shell commands I used to do this lab are listed below:

sudo useradd -m -s /bin/bash -G sudo abe
sudo passwd abe
ssh -AY abe@localhost
git clone https://github.com/danbikle/spy611v2
git config --global user.email "abe@abe.xyz"
git config --global user.name   abe
git clone ~abe/spy611v2 ~abe/spy611v2clone
cd ~abe/spy611v2clone
git checkout -b abebranch1
echo 'abe was here' > ~abe/spy611v2clone/abe.txt
git add .
git commit -am  'abe said something'
git checkout master
cat ~abe/spy611v2clone/abe.txt
git merge abebranch1
cat ~abe/spy611v2clone/abe.txt

Class02 Lab (Git)


ml4.us About Blog Contact Class01 Class02 Class03 Class04 Class05 Class06 Class07 Class08 Class09 Class10 dan101 Forum Google Hangout Vboxen