0
Devs,
I’m starting to use GIT and GITHUB and unfortunately I chose a local repository different than I would like, I tried to delete this and ended up creating more repositories, including with different branches.
Is there any way to start this from scratch? I use Vscode and am beginner in Python programming...
I’ve searched in found many commands, but nothing worked...
Thank you
recommend deleting all hidden folders with git information and restarting a new repository from scratch. In the file explorer itself, inside the repository folder when displaying the hidden files, you will see a folder named. git, where all the information for the repository you created is. By deleting the folder from . git, the path will no longer be a versioned repository, then you can start all over again by typing the command
git init
in the terminal.– pe.Math
I will do this. And doing this, Github already Zera?
– Paulo César Barbosa
Apparently not. Since Github is a code versioning tool, when you give
git remote add origin --link do repositorio--
, the current version of your project will be updated with the changes that have occurred so far.– pe.Math
And there’s some way to get some repository out of github that I don’t want to be there?
– Paulo César Barbosa
Yes, just go to the repository settings and the penultimate options of the first tab, there will be the option to delete the repository. I think before deleting it, you need to enter the password or repository credential that is set by the system and is the default for Github settings.
– pe.Math