Contents tagged with Git

  • Most useful git commands

    Hello everybody,

    today I want to make post about most useful IMHO commands. Honestly speaking as usually I prefer to use tortoise git with it's gui. But quite often it happens that even the best gui tool can't give you necessary flexibility. For this purpose git commands come on your rescue. In this post I'll describe some basics of git, some most useful commands, so it's going to be one of my longest articles, and hopefully not the most useless.

    Configuring Git

    In git you can have three levels of configuration:

    --local  - configuration of single repository

    --global - configuration of user for your account ( for example user Administrator on your local machine )

    --system - … more

  • How to add to docker image dot net sdk and other useful staff

    Hello everybody,

    today I want to write few rakes of Dockerfile.

    First of all I want to document how to install dot net sdk 1.1. It isn't installable by chocolatey, so I had to use following workaround:

    RUN Invoke-WebRequest '' -OutFile dotnetDev.exeRUN .\dotnetDev.exe /Silent /Full

    Another issue, that I faced was installing of Git, or for containers I prefer MinGit. It can be achieved in the following way:

    RUN Invoke-WebRequest '' -OutFile

    RUN Expand-Archive c:\ … more

  • Chocolatey usage for installing programs

    Hello everybody,

    today I want to document wonderfull tool. Chocolatey. It allows you to install quite big list of programs without need to search, download and setup them. 

    Before chocolatey will be able to execute anything at your pc, following command needs to be executed at your powershell:

    Set-ExecutionPolicy Unrestricted 

    and this one:

    iex ((New-Object System.Net.WebClient).DownloadString(''))

    As soon as chocolatey will be installed at your pc, you can execute following ps1 file:

    choco install pdfcreator -y --allow-empty-checksumschoco install firefox -y --allow-empty-checksumschoco install jre8 -y --allow-empty-checksumschoco install 7zip. … more