Default
This Is How Me Do It!
C. BinKadal --- Sendirian, Berhad

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT

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

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

(RESULT)

cbkadal@cbkadal:~/git/os241/TXT$ git pull
Already up to date.

cbkadal@cbkadal:~/git/os241/TXT$ git add -A

cbkadal@cbkadal:~/git/os241/TXT$ git commit -m "os241 cbkadal UPDATE mylog.txt"
[master fc833d8] os241 cbkadal UPDATE mylog.txt
 1 file changed, 1 deletion(-)

cbkadal@cbkadal:~/git/os241/TXT$ git push
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 6 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 372 bytes | 372.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To github.com:cbkadal/os241.git
   976df58..fc833d8  master -> master

cbkadal@cbkadal:~/git/os241/TXT$


git status

(RESULT)

cbkadal@cbkadal:~/git/os241/TXT$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

cbkadal@cbkadal:~/git/os241/TXT$



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT


© 2021-2024 --- C. BinKadal --- About --- Revision: 0165--28-Feb-2024.