Hello Guys.
I really need some help here.
I already read this instructions here. but didn’t worked.
I use two different computers to work with defold. My home PC and my office PC. both running WIN7.
I always open my branch… work… finish my work … save my files… then I go to menu project and sinc my code.
But when I get home and open a new instance of defold my changes weren’t there…
as alternative i went to git terminal and call the git log:
So i have tried to change to last commit…
But again the new files weren’t there…
I have tried to execute git push and git pull but I dont know which is the user and password…
Please… tell me what is the correct order/commands/steps to send my code to remote repository defold …
Sorry guys… but I’m really confused… with so many steps to a simple thing… 
You sync code on home computer too? Sync work in both direction = git pull and git push
1 Like
yes… i sync my code at office… but when i sync at home my new files (from office ) didn’t coming…
From FAQ:
Can I use external Git tools?
Yes, it is possible:
Check out a project for the first time via Open Project and New Branch
Add the local repository found in “Defold/branches/[project_id]/[user_id]/[name_of_branch]” to your Git client.
Specify your Defold username. The password is the “Access token” that you find under “Settings” in the Defold Dashboard (the huge hexadecimal number).
You can now add, commit, revert, branch and merge as much as you want. Any changes are immediately reflected in Defold. Note that Defold automatically stages all changes that you make in the editor.
Where you recieve password
3 Likes
User name its your login email for Defold
1 Like
By looking at this screenshot (which I assume is from your home computer?), you did get the changes (assuming 5c2ea37 is the change you wanted?):
You can see what files were actually commited by running:
$ git show --stat 5c2ea37
Is you missing files listed there?
2 Likes
Thanks for all assistance. @tarnumius and @Mathias_Westerdahl…
the documentation says:
If you want to use external Git tools instead of syncing your code via the editor
If defold give me options to sync my code… I see no reason to use external tools… so if i can i prefer use only defold.
[…]
When you Synchronize your project, the following happens:
Your changes are committed to the local repository.
The editor pulls any changes from the remote repository and merges it with your local repository.
If there are merge conflicts, you are asked to resolve them.
If the option synchonize only does the local commit…
when does defold do the “git push origin master/branch” to send my files to remote branch/master…?
Before i go home yesterday i made the sync by defold… but for any reason my files… weren’t sent to remote repository…
I tried use the external git tool following the instructions … but without success again
I’m going to home now … by secure I put my branch files in the google drive…
The documentation isn’t clear enough. It does push the committed result to your repository.
(Think about it, otherwise you wouldn’t see your commit on the dashboard or when typing git log
at home)
Command line git is a powerful tool, so it’s good to know that it works as you’d expect. That’s why we mention it in the docs. For the most cases though, people use the “Synchronize” button, just as you do.
If you can see the commit sha1 (is it 5c2ea37?) on the dashboard (defold webpage) and at home, then the synchronisation did push the commit to the server, and if you see it at home, then you pulled the branch at home.
Did you run “git show --stat 5c2ea37”? Were your files commited?
How did you add the files ot the project in the first place? What type of files were they?
It is a complicated situation!!! 
Now… at home I have tryed execute the manual commit using the git tool again the it works!!!.
Super strange… maybe there is anything in my corporate connection avoiding the git/defold to access their repository to execute push/pull commands, but not avoiding checkout or new branch commands…
it is really strange… because i can access my github account without any problem from there…
BTW 5c2ea37 isn’t my last commit… (last files)