Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use git and github with just you #2

Open
caro401 opened this issue Jan 17, 2024 · 0 comments
Open

How to use git and github with just you #2

caro401 opened this issue Jan 17, 2024 · 0 comments
Labels
article-request Something you want us to write about

Comments

@caro401
Copy link
Contributor

caro401 commented Jan 17, 2024

Example situation: you have a small data set or writing project in a text/CSV/markdown file that you work on over time, and want to track changes and have a remote backup (relatedly, we probably need a what is version control)

Things to cover

  • we assume you know why you want/need to use version control

  • we assume you know how to get to your terminal/command prompt and run commands

  • we assume you're working on a single computer (so you can't get merge conflicts)

  • we won't cover branching/merging/pull requests here

  • install git, make a github account

  • create a repo on github (private), explain the instructions they give when you make a repo

  • add your file, make a commit with a message

  • push your commit to the remote

  • make more changes, commit and push again

  • view history/file at older versions in github, view diff of what you just did

  • if your computer is toast, recover onto a new machine by clone the work you did from github

@caro401 caro401 added the article-request Something you want us to write about label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
article-request Something you want us to write about
Projects
None yet
Development

No branches or pull requests

1 participant