I'm working on one of the cakephp website, where i use git as a version controller. I have 2 types of different branches are there :
1) development
2) ui
When i try to push my latest changes from development to ui branch using this command : git push web ui, below message will displayed.
Counting objects: 43, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (28/28), done.
Writing objects: 100% (29/29), 66.67 KiB | 0 bytes/s, done.
Total 29 (delta 15), reused 0 (delta 0)
remote: Already on 'ui'
remote: ----------------------------------------------------------------
remote: Deployed ui to Leo
remote: ----------------------------------------------------------------
To ssh://git@wasteaccountant.com/srv/git/wa.git
bdc7d80..01e85ea ui ->ui
but when i checked on git server for ui branch, no updates are there on that particular branch. but i can see the changes applied when i check in browser.
Updated Question:
Below are the steps of commands i used to run:
1) git status
2) git checkout development // name of development branch
3) git add
4) git commit
5) git push // pushing development changes on development branch only
6) git checkout ui // name of ui branch
7) git merge development
8) git push web ui // pushing changes on ui branch
Whatever i push on development branch i can see all changes with commit very well on git repository, but no luck for ui branch.
Note: It will working fine if i use git push -f command. very strange for me!
--------------------------------------------------------------------------------------------------
can anybody suggest me what to do? or where i made a mistake in commands?
Thanks!