You are here

versioning

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!

Update a Git Repository from local versioned files

If you are new to using Git as a versioning tool, you might make a common mistake whilst managing local files - I know I did.
When you start working on a cloned remote git repository (created from the git clone command) all the following commits (done by the git commit command) are executed on your local repository.
To upload the commits to the remote repository you need to perform a push command, like the following using ssh:

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.

Subscribe to RSS - versioning