Skip to content
Discussion options

You must be logged in to vote

hi @Grumpster-Dev

Git is designed for distributed work, so using both your macOS and Ubuntu boxes on one project won’t break anything—if you keep them in sync.

  1. Single Source of Truth
    Host one remote repo (e.g., on GitHub) and clone it on each machine.

  2. Identify Yourself Once

    git config --global user.name  "Your Name"
    git config --global user.email you@example.com
  3. Before You Code

    git pull   # grab any commits pushed from the other computer
  4. After You Code

    git add .
    git commit -m "Describe the change"
    git push   # make the work available to the other machine
  5. Ignore OS Junk
    Add items like .DS_Store or *~ to .gitignore.

  6. Mind Case Sensitivity
    macOS (default) is case-insensitive; Linu…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Grumpster-Dev
Comment options

Answer selected by Grumpster-Dev
Comment options

You must be logged in to vote
3 replies
@Grumpster-Dev
Comment options

@mayur-driod
Comment options

@Grumpster-Dev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants