2025-01-09 00:47:44 +00:00

590 B

DeaDvey's domain

Home page Blogs Resources

Git:

Helpful resources:

Crucial git commands:

  • git add ., Add's the contents of curreent directory to index
  • git commit -m 'update', Record changes to repository
  • git push, Updates remote refs with local repo

URL:

  • Change a git repositories url:

    • git remote set-url origin new.git.url/here
  • Return the url of the current git repository:

    • git config --get remote.origin.url