Thursday, 15 August 2013

git push is not pushing the changes to the repository

git push is not pushing the changes to the repository

I am new to git and trying to understand what its commands do, So for this
i installed git in my windows system.
I made one of my folder as git repository, by running the command "git
init". This created ".git" directory in that folder.
cd git-repo
git init
After that i tried to clone that repository, so for this i made a seperate
folder and went inside that and ran the "git clone ../git-repo" command.
This cloned the git-repo.
Now i did some changes in this cloned folder, and tried to commit it to
the git-repo by using the commands :
git add .
git commit -m "test commit"
git push origin branch1
But the problem is that the pushed changes is not visible in the git-repo.
Please help me with this.
Thanks

No comments:

Post a Comment