Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing Dropbox as git working directory across multiple machines - commits don't sync perfectly
    primarykey
    data
    text
    <p>First off, I'd like to emphasize that this question is NOT about hosting my central repo on Dropbox, and that I'm fairly new to using git. None of the other questions involving Dropbox and git that I could find really answer my question; they're all either about hosting your repository with Dropbox or whether or not it's a "good idea" to use the two in conjunction, neither of which is what I'm asking about here.</p> <p>My question is as follows: I have two computers, each dual-booting Windows and Ubuntu (a laptop and a desktop). I've got my local git repository (cloned from a github repo) located in a Dropbox folder so that it is synced across machines and operating systems. When I make a commit on one machine/operating system, it doesn't seem to be syncing the commit status properly to the other machines.</p> <p>e.g.:</p> <p>On my Windows desktop, I make a change to foo.cpp. I then 'git commit -a' and 'git push', pushing my changes to the github hosted repository. The changes to the files are also synced across my Dropbox folder, and when I log into my Windows laptop at school, everything is downloaded without issue. However, when I type 'git status', it says:</p> <pre><code># On branch master # Changes not staged for commit: # (use "git add &lt;file&gt;..." to update what will be committed) # (use "git checkout -- &lt;file&gt;..." to discard changes in working directory) # # modified: foo.cpp # no changes added to commit (use "git add" and/or "git commit -a") </code></pre> <p>But I've already committed these changes on my other machine in, ostensibly, the same working directory. An attempt to 'git pull' from the github servers gives me the message that everything is 'Already up to date.'</p> <p>I would have hoped that the repository status would be seamlessly synchronized by Dropbox. Is anybody familiar with a way around this situation? Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload