From 72e0c1252b1396de4397b3898029892ee9d78f68 Mon Sep 17 00:00:00 2001 From: "g.j.c.strikwerda@rug.nl" Date: Thu, 30 Jan 2020 15:04:09 +0100 Subject: [PATCH] git.howto aanpast --- git.howto | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/git.howto b/git.howto index 31bfcb2..f86f340 100644 --- a/git.howto +++ b/git.howto @@ -176,4 +176,74 @@ Date: Tue Mar 20 11:04:40 2018 +0100 eerste commit +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git branch +* master + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git branch features + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git branch + features +* master + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git checkout features +Switched to branch 'features' + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git branch +* features + master + + ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git checkout master +Switched to branch 'master' +Your branch is up to date with 'origin/master'. + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git branch + features +* master + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git checkout features +Already on 'features' + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git add ./hoi.txt + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git commit -m "test" +On branch features +nothing to commit, working tree clean + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git push origin features +Username for 'https://git.web.rug.nl': g.j.c.strikwerda@rug.nl +Password for 'https://g.j.c.strikwerda@rug.nl@git.web.rug.nl': + +Enumerating objects: 4, done. +Counting objects: 100% (4/4), done. +Delta compression using up to 8 threads +Compressing objects: 100% (2/2), done. +Writing objects: 100% (3/3), 271 bytes | 271.00 KiB/s, done. +Total 3 (delta 0), reused 0 (delta 0) +remote: +remote: Create a new pull request for 'features': +remote: https://git.web.rug.nl/p216149/git-workshop/compare/master...features +remote: +To https://git.web.rug.nl/p216149/git-workshop.git + * [new branch] features -> features + + ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git branch + features +* master + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git merge features +Already up to date. + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git status +On branch master +Your branch is ahead of 'origin/master' by 2 commits. + (use "git push" to publish your local commits) + +ger@ger-lpt-werk:~/Desktop/CIT/git-workshop$ git push +Username for 'https://git.web.rug.nl': g.j.c.strikwerda@rug.nl +Password for 'https://g.j.c.strikwerda@rug.nl@git.web.rug.nl': +Total 0 (delta 0), reused 0 (delta 0) +To https://git.web.rug.nl/p216149/git-workshop.git + 5605e6f..bb99908 master -> master + +