📘
Git-Help
Git Cheatsheet
  • A Simple Git Help
  • Basics
  • Git Branching
  • Pull Request
  • Submodules
  • Commands / Actions
    • Commit changes to other branch
    • git log
    • git status
    • git init
    • Amend a commit
    • Reset a file or full
    • Undo git add
    • Get remote repo url
    • Add or Set Remote URL
    • delete branch
  • Credits & Other
    • Other good links
    • Credits
Powered by GitBook
On this page

Was this helpful?

  1. Commands / Actions

git init

'git init' will make the current directory/folder to git repo, which means you can link the current folder to a remote git hosting provider like GitHub.com, GitLab.com , BitBucket etc.

// Run this command inside the folder
git init
Previousgit statusNextAmend a commit

Last updated 3 years ago

Was this helpful?