Posts Tagged ‘git’

Experimenting with setting up a new machine every third month

April 3rd, 2019

I am currently experimenting with using a virtual machine for my development. I have earlier done it through OSX/Parallels but now I am trying a Win/Win solution with Hyper-V.

Every third month, that is for how long the license is valid, I do a Hyper-V Manager->Quick create->Windows 10 dev environment.

The mandatory screen shot.

It comes with Visual studio and some dotnet preinstalled. All I have to do is start VS and tell it to update itself, and update dotnet core, and start VS installer and update with Web and Azure and whatnot I need for developing.

Then I need Git, Notepad++, VSCode, Keyboard1337 and BecerroInamovible. Ergo I need Chocolatey too.

Here is how I do it

Fire up a console with elevated priveges.

Window-button, cmd, ctrl-shift-enter. Enter.

Window-button, cmd, ctrl-shift-enter. Enter.

Install Chocolatey.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(''))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Restart console.

Exit. Enter.
Window-button, cmd, ctrl-shift-enter. Enter.

Install Git.

choco install git.install

Install Notepad++.

choco install notepadplusplus.install

Install VSCode.

choco install vscode

Install Keyboard1337.

(there is a installation version where I clone the git repo to get the stuff on my drive and work from there; but here is another version)

Download Keyboad Unblock. Unpack. Install.
Run Keyboard 1337\l337\setup.exe (yupp. there’s a typo there)
Language preferences -> Keep English(Sweden) and English(United States). The latter is Keyboard1337


It which has a dependency on Autohotkey.

choco install autohotkey

Copy contents of to C:\DATA\PROJEKT\Keyboard1337

"c:\Program Files\AutoHotkey\AutoHotkeyU64.exe" c:\DATA\PROJEKT\keyboard1337\BecerroInamovible.ahk

git – github – source tree

August 14th, 2017

I thought of calling this article The value of tools.

I started with git at the command prompt. The threshold was high. Not only was the way of treating my precious source code files new but I also had to learn new commands and how to parse the returned text.

Then came what is now called Github desktop. It made simple tasks even simpler. It couldn’t do any hard tasks but I was perfectly comfortable with this since 99% of my tasks are simple. It is just when I mess up Git I need more horse power.

So came Source tree which made harder tasks easier. Not Easy since one has to be concentrated; and Source tree has a number a bugs and caveats that makes it not as simple to use as Github desktop.

A client that is very good for what it is good at might suffice.
To build a graphical tool for Git that is both easy to use for less knowledgable people and complete for an advanced Git user is hard, even impossible.

Alas: The solution to build a simple tool for simple tasks and an advanced tool for advanced tasks is a good idea.

Using Git for Windows with Atlassian Bitbucket

July 4th, 2012

The real article is here.

I like how the Git-for-windows application is very clean.  But I don’t like how it doesn’t give the user any clues.  Like: I know I can add a new repository by clicking the add button but there is no way for me to see that I can reference an existing by dragdropping a folder.  Maybe I can do this by the same add button but I can’t see it.

It also doesn’t give the user any clue about d’esprit of Git.  Giving Git a GUI that catches the spirit while being easy to use would be quite a feat.  I dare to say that if I started building such an application I would lose track of ease-to-use at the same pace as I gathered Git knowledge.

For the newbie I recommend Git for windows.  Silverbacks need more gauges and levers and will use the command line.

Back to spirits.  I learned the basics of Git through the well written post as Github.