• Home
  • About
    • Simple Learning photo

      Simple Learning

      ho

    • Learn More
    • Email
  • Posts
    • All Posts
    • All Tags
  • Projects

Git Cheat Sheet

27 Jan 2021

Reading time ~1 minute

Git

Git is the Open source manager system which can be used GitHub. Let’s see commonly used Git commands.


Commands

  • User information
git config credential.helper store
  • initialize / clone
git init
git clone [url]
  • remote add
git remote add origin [url]
#if 'already exist' error
git remote rm origin
  • status
git status
  • pull
git pull
  • push
git add .
git commit -m '(comment)'
git push -u origin master
  • log
git log
  • checkout
git checkout (hash) .


GitGithubCommand Share Tweet +1