Make a git merge on the command line in your local repository.
Upload the change to the remote repository on github
Delete the github branch online with git push origin :branch-name
woensdag 16 augustus 2017
Making a branch in git, edit file and then commit to github
1. Move to the local repository on your harddisk
2. git checkout -b muis (je hebt nu twee dingen gedaan: een nieuwe branch gemaakt en daarnaar toe gegaan.
3. git push muis (dit zal de branch "uploaden" naar github)
4. vim probeersel.txt
5. git status om te zien of je nog in de juiste repository bent.
6. git add probeersel.txt
7. git commit -m "something" probeersel.txt
8 git push origin muis
2. git checkout -b muis (je hebt nu twee dingen gedaan: een nieuwe branch gemaakt en daarnaar toe gegaan.
3. git push muis (dit zal de branch "uploaden" naar github)
4. vim probeersel.txt
5. git status om te zien of je nog in de juiste repository bent.
6. git add probeersel.txt
7. git commit -m "something" probeersel.txt
8 git push origin muis
maandag 14 augustus 2017
Making a new repository on github
When you make a new repository on Github (with Readme file) you have to:
1. Clone it to your harddisk: git clone .... .git
2. Add your new files to this repository
3. Add your changes: git add
4. Commit your changes: git commit -m "begin" file.
5. and then: git push origin master
1. Clone it to your harddisk: git clone .... .git
2. Add your new files to this repository
3. Add your changes: git add
4. Commit your changes: git commit -m "begin" file.
5. and then: git push origin master
woensdag 9 augustus 2017
Dmidecode
$ dmidecode -t system
$ dmidecode -t bios
$ dmidecode -t chassis
$ dmidecode -t processor
$ dmidecode -t memory | more
$ dmidecode -t cache
$ dmidecode -t connector
$ dmidecode -t slot
$ dmidecode -t bios
$ dmidecode -t chassis
$ dmidecode -t processor
$ dmidecode -t memory | more
$ dmidecode -t cache
$ dmidecode -t connector
$ dmidecode -t slot
maandag 7 augustus 2017
Uniq, Sort, Count, Seq and Rev commands in Bash
The title speaks for itself.
Three commands to remember.
Don't forget the seq command (sequence)
Rev (reverse)
Three commands to remember.
Don't forget the seq command (sequence)
Rev (reverse)
vrijdag 4 augustus 2017
Moving through code
"Browsing through code
:set mps+=<:>
matchpairs does the job for me in Vim. See above.
This is the page that discusses it and more: http://vim.wikia.com/wiki/Moving_to_matching_braces
There is also a vim plugin that offers more but I haven't looked into it.
Thank you for your answers, both of you.
Abonneren op:
Posts (Atom)
Enlarging Libreoffice window completely with command
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
There is a way to delete empty lines in LibreOffice with regex. It is this command: ^$ But sometimes this doesn't work. Because the a...
-
Als je een goede pdf wilt maken van een Volkskrant artikel, moet je als volgt te werken gaan. Open de Volkskrant pagina, waar je een pdf van...
-
Changing language of keyboard with the command: setxkbmap fr.