[ubuntu-za] trying to create a working git repository in my Ubuntu Linux

nico.michael at arduino.org.za nico.michael at arduino.org.za
Thu Apr 3 15:19:57 UTC 2014


Hi there

I have used the following steps to create a repository
add a dummy text file so i can send it to my Git server

cd /home/nico/git
mkdir MY_JAVA_PROJECT
cd MY_JAVA_PROJECT/
git init
touch deleteme.txt
git add .
Got error added this to fix it :
git config --global user.name "nickm"
git config --global user.email "nico.michael at arduino.org.za"

git commit -m "initial commit"


local/path/to/local/project> git checkout mybranch
got Error : error: pathspec 'mybranch' did not match any file(s) known to git.

Please advise

regards
Nico



More information about the ubuntu-za mailing list