So I'm in the process of learning Git and I'm using the sourcetree GUI. I have a remote repository on server A(not a bare repo but a working one). So i cloned the remote repo onto my local machine and then I created a new file called "blah.txt" and then added, committed the changes to the local repo.
Then after setting git config receive.denyCurrentBranch ignore
, i pushed to the remote repo from the local repo. However, after the push, I can't see the file I created(blah.txt) in the remote repo.
However, when I clone the same remote repo into a different folder onto my local machine, blah.txt appears again. Can anyone explain whats going on?