title | description | tagline |
---|---|---|
4 MANTRAS: (pull), add, commit, push |
4 MANTRAS (pull), add, commit, push |
git |
- E.g., for cbkadal
- You are not cbkadal! Replace cbkadal with your GitHub Account.
- You are not cbkadal! Replace cbkadal with your GitHub Account.
git pull
git add -A
git commit -m "os242 cbkadal UPDATE mylog.txt"
git push
(RESULT)
cbkadal@cbkadal:~/git/os242/TXT$ git pull
Already up to date.
cbkadal@cbkadal:~/git/os242/TXT$ git add -A
cbkadal@cbkadal:~/git/os242/TXT$ git commit -m "os242 cbkadal UPDATE mylog.txt"
[master fc833d8] os242 cbkadal UPDATE mylog.txt
1 file changed, 1 deletion(-)
cbkadal@cbkadal:~/git/os242/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/os242.git
976df58..fc833d8 master -> master
cbkadal@cbkadal:~/git/os242/TXT$
* Plus status
git status
(RESULT)
cbkadal@cbkadal:~/git/os242/TXT$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
cbkadal@cbkadal:~/git/os242/TXT$