Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8061321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:18:13+00:00 2026-06-05T10:18:13+00:00

I work mainly on a desktop Mac but also have a laptop Mac that

  • 0

I work mainly on a desktop Mac but also have a laptop Mac that I use when away from the office.

I want to access and work on my latest html, css, php and python files from either computer.

I thought Github was the way to do this but am having a problem understanding the “flow” and I’ve RTFM! I don’t understand whether I should create a Repository on Github first, why when I try to “clone” something it doesn’t magically end up on my local computer… where the nice big red button that says “sync” is…

… or whether I should just use the commandline ONLY…

So, if I start on my desktop and create new files, what are the correct steps using git or Github (?) to put those files where they can then be accessed from my laptop and then have the files on my laptop merged back into the ?Github repository so I can then access those files from my desktop.

Thank you all for your replies and answers! The git workflow, for my needs, is now clear.

The workflow presented by wadesworld is concise and was the overview I needed.

However, Michael Durrant‘s commandline steps filled in that workflow specifically with commandline directives – and I needed that also.

steelclaw and uDaY‘s answers and responses were important because I did not understand that it did not matter which repo I created first and, adding and committing locally were essential first steps in my workflow.

Specifically, steelclaw‘s response to one of my response questions provided the closure I needed, so I could learn more:

After initializing the repository, be sure to use ‘add’ and ‘commit.’ These will make the files an official version of the repository. After that, you need to use ‘push’ to upload it to the remote repository.”

ilollar‘s resource, “Git for Ages 4 and Up” is also worthy of the click, especially for folks like me who are visual!

Thank you all so very much!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:18:16+00:00Added an answer on June 5, 2026 at 10:18 am

    Do you want to version control your files or just have access to the same files in both places?

    It is a good idea to use version control as a developer, whether you’re writing code or designing websites. But, to do so, you have to have a commitment to learning how version control systems work, since they all have some learning curve.

    But, if you’re not interested in that complexity and simply want to be sure you have access to the latest version of your files, then you’re looking at a file syncing operation which can be much more simple.

    So, which one do you want?

    Edit: Based on the response, here’s the model:

    1) Create repository on work computer.

    2) Create repository with same name on github.

    3) Push to repository on github

    4) At home, do a git clone to pull down the changes you pushed.

    5) Now that the repository exists in both locations, you can simply do a git push before you leave work, and git pull when you get home, and vice-versa when going the other direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to buy a brand new notebook for out-of-the-office work. I mainly develop
Work on C# Desktop project,I have an account on paypal ,From my desktop application
Hi there I am desktop application developer but now i have to work on
I am programming a website mainly targetted at iOS Safari, but I also want
I have a wierd problem that i need to work out how to resolve,
In the company I work for we have a desktop application developed in .NET
work on SQL Server 2000. want to Automated Email Notifications using SQL Server Job
Work on asp.net vs05. I have three type of value Like:IsDesign,IsPrinting,IsInstall they are bit
Work on this small test application to learn threading/locking. I have the following code,
I work with unordered_set . Here it's written that it has a reserve function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.