GIT

Context sensitive auto-completion using PowerShell, PowerTab and GIT

Posted on October 13, 2008. Filed under: GIT, powershell, ruby, vista, windows |

Powertab is an Awesome PowerShell TabExpansion extension. It extends the default PowerShell autocompletion and shows the results like:

image

The best part is that it is easily customizable.

One way to customize it is by editing it Tab Expansion database file which is located in your powershell profile directory:

TabExpansion.xml

(more…)

Read Full Post | Make a Comment ( 5 so far )

Displaying GIT Branch on your PowerShell prompt

Posted on October 12, 2008. Filed under: GIT, powershell, vista, windows |

PowerShell is a command line shell like the command prompt (cmd.exe) but with a lot more features. It can be downloaded from here.

One of the features is that you can change the default prompt. Prompt can be changed by overriding the function with name “prompt”.

This function can be declared inside the PowerShell profile file which has the path:

C:\Users\Gaurav\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

If the file does not exist then you will need to create this file. Declaring the following function inside the profile file will change the prompt.

   1: function prompt {
   2:   return "prompt> "
   3: }

to:

image

(more…)

Read Full Post | Make a Comment ( 6 so far )

Compiling and Installing GIT on windows under cygwin

Posted on April 11, 2008. Filed under: cygwin, FOSS, GIT, open source, perl, vista, windows |

Using GIT was one of the requirements of one of the project that I am doing. Here is how I installed GIT on Windows.

So What is GIT?

The supplied documentation of GIT says that:

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

Here is the link for the wikipedia entry.

Where can I download GIT?

Here is the link.

(more…)

Read Full Post | Make a Comment ( 7 so far )

Liked it here?
Why not try sites on the blogroll...