I have just finished a great new site that sells amazing designer products.
Check it out at: http://www.aarevaloshop.com
I have just finished a great new site that sells amazing designer products.
Check it out at: http://www.aarevaloshop.com
I have invented a new word and it is…
Scankle – meaning: a skanky ankle
Correction: I have to retract my previous statement I have not invented the word scankle.
I have made some notes on how to install git on your Bluehost box:
Download git:
cd ~/tmp
wget http://kernel.org/pub/software/scm/git/git-1.6.3.3.tar.gz
Unzip:
tar xvfz git-1.6.3.3.tar.gz
Build:
cd git-1.6.3.3
./configure — prefix=$HOME
make SHELL=”/bin/bash” install
Bluehost have updated the oppenssh so you now also have to change the git /bin path
When you attempt to run any remote operations over ssh (clone, fetch, pull, push), you’ll get an error like one of the following:
bash: git-upload-pack: command not found
bash: git-receive-pack: command not found
Solution 1
When you do one of the operations that give a “command not found” error, simply include the option –upload-pack= or –receive-pack=.
For example, instead of running git clone example.com:test.git you’ll need to run git clone –upload-pack=/home/examplec/bin/git-upload-pack. You can find out what path you need to include by logging into a normal interactive session, and running which git-upload-pack since this varies depending on where you have installed git to your account.
An example of git-receive-pack is when pushing. Instead of running git push origin master you’ll need to run git push –receive-pack=/home/examplec/bin/git-receive-pack origin master. Again, you can find the correct path by running which git-receive-pack in a normal ssh session.
This is useful in the event that you only need to access a repo once or twice since you don’t need to modify any configuration files.
Solution 2
Fortunately, you can also specify these options in the .git/config file for a specific remote repository. This is most useful if you will be continually working with a git repository hosted on your Fastdomain account over time. For example, you could put the following in a .git/config for a remote called origin:
[remote "origin"]
uploadpack=/home/examplec/bin/git-upload-pack
receivepack=/home/examplec/bin/git-receive-pack
Putting this information in your .git/config file is the preferred solution for git repositories, rather than specifying everything on the command line.
Currently a fourth year BSc (Hons) Computing undergraduate with excellent communication, team work and management skills. Always take the best from a challenge and enjoy being able to showcase abilities.
Working in JavaScript, CSS and HTML.