How to create a new version of your repository on github #24613
-
good evening to the whole community, I’m new to Github. I recently created a repository on github, I’m looking to save the changes I made on my computer on github and without having to change the existing repository so that if I have a code error, I can go back to the previous version of my app. But I don’t even know how to even modify my repository. Github’s tutorial shows how to edit a file but not the entire project especially since there are several new folders that have been added to it. when I run the command
yet when I look at my git repository, nothing has been updated. Also I ask for help from more experienced members of the community to help me solve a problem on how to create a new version of its repository on git. Thank you, I look forward to your help! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
gouneken:
This sounds like you didn’t commit your changes yet. Essentially each commit is a version of your repository, and I highly recommend you take a look at the Git - Book. Chapter 2 covers the basics, including the answers to your question: How to record changes, and exchange them with remote repositories. |
Beta Was this translation helpful? Give feedback.
-
there is no public repo too, it’s hard to guess it, maybe you mean from time to time there is an update, you will be creating a release, because that’s the latest version |
Beta Was this translation helpful? Give feedback.
-
Oui, c’est exactement ce que je veux dire et je ne sais pas comment faire. |
Beta Was this translation helpful? Give feedback.
-
I am absolutely lost in the use of this GitHub thing, I have a project connected to GitHub and I cannot find that code, let alone, download a previous version. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
You've got this word "add" around your website and even here "Got remote add". This whole system uses words that mean nothing or are confusing. I think your system is trying to do too much, and even GitHub is confused. Please spend more time in reorganising your system and documentation, covering each subject in full and more description. I used to be a Technical Writer and I can't see how things work in GitHub.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: AS ABIR HASAN ***@***.***>
Sent: Saturday, May 11, 2024 7:46:33 PM
To: community/community ***@***.***>
Cc: John van der Linden ***@***.***>; Comment ***@***.***>
Subject: Re: [community/community] How to create a new version of your repository on github (Discussion #24613)
Git remote add
—
Reply to this email directly, view it on GitHub<#24613 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA5JAC5F6IH365KUGBDPQE3ZBXSHTAVCNFSM6AAAAABHRVHPYWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TGOJUGE2TS>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
This sounds like you didn’t commit your changes yet. Essentially each commit is a version of your repository, and
git push
transfers new commits to the remote repository.I highly recommend you take a look at the Git - Book. Chapter 2 covers the basics, including the answers to your question: How to record changes, and exchange them with remote repositories.