Easy Git walkthrough (must check)
git init
To ignore the svn directory already present
————————————————————–
cat > .gitignore
.svn/
.gitignore
Staging the newly modified files
——————————————-
git add .
git status
if by mistake the svn files get added, don’t panic, to unstage all the staged files
—————————————————————————————————————–
git rm –cached -r .
git add .
Check again if it’s done
———————————-
git status
git commit -m “Importing Restaurant Madness Theme”
Check for existing shortname handles
——————————————————-
git remote
If none are present, create a new one
——————————————————
git remote add rm git@code.rtcamp.com:restaurant-madness.git
Check again now
————————-
git remote
git push rm master
remove the .gitignore file we created
—————————————————-
rm .gitignore