Wednesday, 18 September 2013

Git - deploying by replacing old files new ones

Git - deploying by replacing old files new ones

I already have files in project folder on server. I initialize there git:
git init
then i set up remote origin
git remote add origin git@bitbucket.org:xxxx
and ssh keys. Now i want to replace that old files by new files in remote
repository. Which command i should use?
I tried
git pull origin master
but its not making any changes, and when i making:
git checkout master
its says:
error: The following untracked working tree files would be overwritten by
checkout:

No comments:

Post a Comment