devahmedabdo / FCAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

* Some git Commands will help U *


SETUP & INIT

  • git init : initialize an existing directory as a Git repository
  • git clone [url] : retrieve an entire repository from a hosted location via URL

STAGE & SNAPSHOT

  • git status : show modified files in working directory, staged for your next commit
  • git add [file] : add a file as looks now to your next commit (stage)
  • git reset [file] : unstage a file while retaining the changes in working directory
  • git commit -m "[descriptive message]" : commit your staged content as a new commit snapshot

BRANCH

  • git branch : list your branches [main or master]

SHARE & UPDATE

  • git push [alias] [branch] : Transmit local branch commit from the tracking remote branch.
  • git pull : fetch and merge any commit from the traking remote branch.

Source:

GitHub Git CHEAT SHEET

About


Languages

Language:TypeScript 55.7%Language:HTML 26.1%Language:SCSS 16.3%Language:JavaScript 1.8%