CBKADAL
OSP Weekly Assignments
C. BinKadal --- Sendirian, Berhad.


SP Week 00 Assignment #6: Setup a Virtual Debian Guest

  • To setup a virtual Debian guest, visit https://doit.vlsm.org/041.html
    • Hostname: Your GitHub Account (e.g. cbkadal)
    • Username: Your GitHub Account (e.g. cbkadal)
    • Remember: You are not cbkadal! Replace cbkadal with your GitHub Account.


Testing SSH to GitHub.com

ssh -T git@github.com

(RESULT)


Clone repositori SP241 for user “cbkadal”

mkdir -pv $HOME/git/
cd $HOME/git/
git clone git@github.com:cbkadal/sp241.git

(RESULT)


Clone repositori DEMOS

mkdir -pv $HOME/git/
cd $HOME/git/
git clone git@github.com:os2xx/demos.git

(RESULT)


mylog: Updating add commit push

  • pull from GitHub.com (e.g. for cbkadal, “sp241”)
cd $HOME/git/sp241/TXT/
git pull


  • Edit mylog.txt
    • Do not “echo vi”, do “vi” or your other editor.
    • See also this OS Assignment.
echo vi mylog.txt
sleep 1
cat mylog.txt


The 4 GIT MANTRAS: (pull), add, commit, push

git add -A
git commit -m "sp241 cbkadal UPDATE mylog.txt"
git push



© 2024-2024 --- C. BinKadal --- Revision: Thu 14 Nov 2024 14:05.