You are here

version

Put git into Verbose Mode

Using git as a versioning system is great, but sometimes you might get some cryptic error messages.
To help you on debugging put git into verbose mode directly in your command line, and only for each command you need. Here's how:


$ GIT_CURL_VERBOSE=1 git push

Cheers

HOW-TO find out the remote GIT repository

It might happen that you have so may repositories on your local machine at once that it could get hard to remember which is the original remote repository or branch. The command in git to find this out would be:

git remote show origin

Cheers!

Git for Windows

Just a quick one... if you need to use Git in a Windows Environment, simply download the msysgit installer and follow the instructions on screen.

Find out Linux distro and version

If you need to find out which "flavour" (or distro) Linux you are using just type the following command at the prompt:


[definenull@hm1446 ~]$ cat /etc/*-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)

This might not work on all distros, so a more general approach would be running the command:


[definenull@hm1446 ~]$ lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga)

Subscribe to RSS - version