Git Product home page Git Product logo

Comments (11)

IvanKukil avatar IvanKukil commented on July 30, 2024

Finally I started. If I make a mistake somewhere in writing, please, write me about that, because my level of English is not enough for this job yet. After renaming of repository, I must to clone this repo with new name to new folder of this project or execute the command "git add remote origin [email protected]:IvanKukil/html-test-task.git"?
When I do "git add remote origin [email protected]:IvanKukil/html-test-task.git" I will take an error error: remote origin already exists

from html-test-task.

IvanKukil avatar IvanKukil commented on July 30, 2024

If I push smt what I changed (for example, push new branch html-markup), I will take an error (attached below in screenshot). I think that it happens because new name of repository don`t pulled of the remote server of my project.
photo_2021-09-05_18-11-20

from html-test-task.

IvanKukil avatar IvanKukil commented on July 30, 2024

I did it by another way. I added in configuration file of this project new name of repo. Did I do the first task correctly?
Screenshot 2021-09-05 184237

from html-test-task.

IvanKukil avatar IvanKukil commented on July 30, 2024

After that we also can rename the name of folder "project1" locally to new name "html-test-task"

from html-test-task.

Oleksii14 avatar Oleksii14 commented on July 30, 2024

Finally I started. If I make a mistake somewhere in writing, please, write me about that, because my level of English is not enough for this job yet. After renaming of repository, I must to clone this repo with new name to new folder of this project or execute the command "git add remote origin [email protected]:IvanKukil/html-test-task.git"?
When I do "git add remote origin [email protected]:IvanKukil/html-test-task.git" I will take an error error: remote origin already exists

You needed to rename the repo and that's it. No need to re-clone it again, the renaming process does not affect anything. Just rename it in github and proceed your job 👍🏻

from html-test-task.

Oleksii14 avatar Oleksii14 commented on July 30, 2024

1 task is just about renaming the repo in GitHub to have the proper understanding of what does this repo contain.
If you're having some issues while pushing, just try removing the remote and adding it again via git remote add .... This may fix your issue

from html-test-task.

IvanKukil avatar IvanKukil commented on July 30, 2024

I try git remote add but it didn't work. I'm getting an error error: remote origin already exists. I showed it to you in a telegram.

from html-test-task.

IvanKukil avatar IvanKukil commented on July 30, 2024

In my opinion, there is only one way to do the first task. This is the way to make changes (change name of url) to the configuration file config in .git folder. Or we try something else. What do you think?
Screenshot 2021-09-05 205833

from html-test-task.

Oleksii14 avatar Oleksii14 commented on July 30, 2024

Please don't go deep into the redundant job 😄
All that you need to implement the 1st point is just rename the repo in github (what you have already done). If you have some issues with push - just remove the remote and add it again. It should work

from html-test-task.

Oleksii14 avatar Oleksii14 commented on July 30, 2024

Also, avoid changing the git config file itself. This may cause unwanted side effects. Use git commands only

from html-test-task.

IvanKukil avatar IvanKukil commented on July 30, 2024

Please don't go deep into the redundant job 😄
All that you need to implement the 1st point is just rename the repo in github (what you have already done). If you have some issues with push - just remove the remote and add it again. It should work

I got it. Ok.

from html-test-task.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.