Skip to content

coderanik/GitPod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Command Practice

This project is a simulated environment to practice common Git commands. It provides a simple interface to execute Git commands and see their effects.

Project Structure

  • index.html: The main HTML file that sets up the structure of the web page.
  • style.css: The CSS file that styles the web page.
  • code.js: The JavaScript file that contains the logic for processing Git commands.
  • README.md: This file.

How to Use

  1. Open index.html in a web browser.
  2. Use the input field to type Git commands.
  3. Press Enter to execute the command.
  4. View the output and command history on the page.

Supported Commands

  • git init
  • git add [filename]
  • git commit -m "message"
  • git status
  • git log
  • git branch
  • git checkout
  • git merge
  • git remote
  • git push
  • git pull
  • git stash

Example Commands

  • Initialize a new repository:
    git init
    
  • Add a file to the staging area:
    git add filename
    
  • Commit changes with a message:
    git commit -m "Initial commit"
    
  • Check the status of the repository:
    git status
    
  • View the commit history:
    git log

About

A versatile platform to practice git commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published