git push is not pushing the changes to the repository -
i new git , trying understand commands do, installed git in windows system.
i made 1 of folder git repository, running command "git init". created ".git" directory in folder.
cd git-repo git init
after tried clone repository, made seperate folder , went inside , ran "git clone ../git-repo"
command. cloned git-repo.
now did changes in cloned folder, , tried commit git-repo using commands :
git add . git commit -m "test commit" git push origin branch1
but problem pushed changes not visible in git-repo. please me this.
thanks
you pushing none-bare repo. depending on git version (still) works, newer gits no longer work.
you should pushing bare repo (that can function similar server in centralized version control) , pull there, i.e. make transfer indirect.
read more bare repos: http://gitolite.com/concepts/bare.html
Comments
Post a Comment