Hi,
I've sort of got Git working but I've got a problem with one of my applications where it won't commit changes. I can edit an object and Powerbuilder knows its modified but when I Commit it, it doesn't seem to update the repo. Is there any advanced logging I can turn on to see what it is doing. The log shows that it finds 1 modified file, but it doesn't actually get commited:
---------- Source Control
Git commit
Git client is finding files. Please wait...
Git client has finished finding files. 1 file(s) found.
Git client is committing files. Please wait...
Git commit success.
Git commit
---------- Done Source Control
I can check modifications from TortoiseGit and it finds the modified file and I can commit it from there, but for some reason Powerbuilder doesn't commit modifications. It will commit new objects in this particular project though.
Also, is there a way to exclude .pbd files from Git tracking? My project includes pbwsclient170.pbd and Powerbuilder has the three objects marked in that file as added and they come up each time I commit the whole project. Ideally I'd like to exclude any pbds from tracking.
Thanks for the reply. With regard to the commit/push. The commit updates the local repo and then the push updates the remote repo from the local. The problem I'm having is that Powerbuilder isn't updating the local repo, but I can do that from TortoiseGit. The push from Powerbuilder seems to be working ok.
Thanks, I'll have another look at gitignore. I had added the pbd to .gitignore and removed it from the local repo but Powerbuilder still seems to want to track it.
I encounter the exact same problem where committing a file from PowerBuilder to the local Git repository doesn't work.
Committing the file using the command line works.