/100_days_100_projects

i will upload 100 small MERN_HTML_CSS _projcts here

Primary LanguageJavaScript

100_days_100_projects

i will upload 100 small MERN_HTML_CSS _projcts here

to pull the repo

  • create a local branch
  • open your terminal
  • git init
  • git clone https://- github.com/IAkashMondal/100_days_100_projects.- git

- git Cheat Sheet----------->

Initialize a Repository:

  • git init

Clone a Repository:

  • git clone <repository_url>

Add Changes:

  • git add

Commit Changes:

  • git commit -m "Commit message"

Push Changes to Remote:

  • git push origin <branch_name>

Pull Changes from Remote:

  • git pull origin <branch_name>

Check Status:

  • git status

Check Commit History:

  • git log

Branching:

Create a New Branch:

  • git branch <branch_name>

Switch to a Branch:

  • git checkout <branch_name>

Create and Switch to a New Branch:

  • git checkout -b <new_branch_name>

Merge Branches:

  • git merge <branch_name>

Delete a Branch:

  • git branch -d <branch_name>

gitHub Collaboration:

Add a Remote Repository:

  • git remote add origin <repository_url>

Fetch Changes from Remote:

  • git fetch origin

Create a Pull Request (PR):

  • Push your changes to your repository and then create a PR on - gitHub.

Merge Pull Request:

  • After reviewing, merge a PR on - gitHub.

Update Local Repository from Remote:

  • git pull origin <branch_name>

Miscellaneous:

Ignore Files (Edit .- gitignore):

  • Create or edit a .- gitignore file to specify files/folders to be ignored.

Undo Last Commit:

  • git reset HEAD^

Discard Changes in Working Directory:

  • git checkout --

Configure Username and Email: