Help with Git.
#1
I am trying to get this GIT working.

How do I make the git reflect files that have been deleted from my directory?

I am using:

git add Shade
git commit -m 'note'
git push


But it wont delete files from the git that were removed from the Shade directory.
Image
To learn more, click here.
Reply
#2
There's probably more efficient ways of doing things, but I just can't grasp git, this is my cheat sheet:

Quote:git commit -a -m"MESSAGE"

git commit -m"MESSAGE"

git add -A

It works, it mirrors my local copy, but there is a more proper way to do things I assume...One of my rainy day things is to read up more on git.
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#3
explicitly remove it from the index: git rm
or, if you deleted the files from your folder then "git commit -a" should do it
Reply
#4
Code:
mv Shade/* .
git add -A
git commit -a -m "move files to root"

The first line obviously moves the files up a level.

TheUni
Reply
#5
Thanks guys, got it.
Image
To learn more, click here.
Reply

Logout Mark Read Team Forum Stats Members Help
Help with Git.0